ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Arsenal Clear All Button does not trigger cargoChanged event

Open Puotek opened this issue 1 year ago • 1 comments

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

Puotek avatar Jan 28 '25 18:01 Puotek

~~working on it #10692~~

Andx667 avatar Jan 28 '25 23:01 Andx667