Skip to content

Commit

Permalink
Arsenal - Fix insignia not reapplying after switching vests & backpac…
Browse files Browse the repository at this point in the history
…ks (acemod#10046)

Fix insignia not reapplying
  • Loading branch information
johnb432 authored and blake8090 committed Aug 18, 2024
1 parent 65c962a commit 5c21bd6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions addons/arsenal/functions/fnc_onSelChangedLeft.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@ switch (GVAR(currentLeftPanel)) do {
};

GVAR(currentItems) set [IDX_CURR_VEST, _item];

[GVAR(center), ""] call BIS_fnc_setUnitInsignia;
[GVAR(center), GVAR(currentInsignia)] call BIS_fnc_setUnitInsignia;
};

TOGGLE_RIGHT_PANEL_CONTAINER
Expand Down Expand Up @@ -420,6 +423,9 @@ switch (GVAR(currentLeftPanel)) do {
};

GVAR(currentItems) set [IDX_CURR_BACKPACK, _item];

[GVAR(center), ""] call BIS_fnc_setUnitInsignia;
[GVAR(center), GVAR(currentInsignia)] call BIS_fnc_setUnitInsignia;
};

TOGGLE_RIGHT_PANEL_CONTAINER
Expand Down

0 comments on commit 5c21bd6

Please sign in to comment.