mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Arsenal - Fix stats not updating for custom buttons (#8586)
This commit is contained in:
parent
08dff76593
commit
ff3e0a48df
@ -191,7 +191,6 @@ if (!isNil "_itemCfg") then {
|
||||
] find GVAR(currentLeftPanel), true] call _handleStatsFnc;
|
||||
};
|
||||
} else {
|
||||
|
||||
switch (GVAR(currentRightPanel)) do {
|
||||
case IDC_buttonOptic: {
|
||||
[0, false] call _handleStatsFnc;
|
||||
@ -220,6 +219,11 @@ if (!isNil "_itemCfg") then {
|
||||
case IDC_buttonMisc: {
|
||||
[7, false] call _handleStatsFnc;
|
||||
};
|
||||
default {
|
||||
if (GVAR(currentRightPanel) in [RIGHT_PANEL_CUSTOM_BUTTONS]) then {
|
||||
[7, false] call _handleStatsFnc;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user