Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arsenal Clear All Button does not trigger cargoChanged event #10689

Open
Puotek opened this issue Jan 28, 2025 · 1 comment · May be fixed by #10692
Open

Arsenal Clear All Button does not trigger cargoChanged event #10689

Puotek opened this issue Jan 28, 2025 · 1 comment · May be fixed by #10692
Labels

Comments

@Puotek
Copy link

Puotek commented Jan 28, 2025

Mods:

  • Arma 3: 2.18.152588 profiling
  • CBA: 3.18.1
  • ACE3: 3.19.0

Description:

When using the clear all button for containers in the ace arsenal, it does not trigger updates on custom actions with updateOnCargoChanged = 1

Steps to reproduce:

  1. Add a custom action to arsenal ([[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"TAG_myActions","My Actions",[["text","Text",{true},"Text"],["statement","Statement",{true},"",{str time}],["button","Button",{true},"",{},{str time}]],{true},2,true]call ace_arsenal_fnc_addAction;)
  2. Open arsenal and add some items to inventory
  3. Notice current number displayed on the action
  4. Clear said inventory
  5. Notice the number does not change

Expected behavior:

The number in the example action should update

Where did the issue occur?

  • Editor (Singleplayer)

Additional context:

This line is missing here

@Andx667
Copy link
Contributor

Andx667 commented Jan 28, 2025

working on it #10692

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants