Skip to content

Arsenal Clear All Button does not trigger cargoChanged event #10689

@Puotek

Description

@Puotek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions