Arsenal - Fix insignia not reapplying after switching vests & backpacks (#10046)

Fix insignia not reapplying
This commit is contained in:
johnb432 2024-05-29 20:40:41 +02:00 committed by GitHub
parent e535988479
commit 0034f4b9cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -382,6 +382,9 @@ switch (GVAR(currentLeftPanel)) do {
}; };
GVAR(currentItems) set [IDX_CURR_VEST, _item]; 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 TOGGLE_RIGHT_PANEL_CONTAINER
@ -420,6 +423,9 @@ switch (GVAR(currentLeftPanel)) do {
}; };
GVAR(currentItems) set [IDX_CURR_BACKPACK, _item]; 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 TOGGLE_RIGHT_PANEL_CONTAINER