mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
QGVAR and fix gforces, goggles, grenades, hearing, interact_menu
This commit is contained in:
@ -97,7 +97,7 @@ if (GVAR(openedMenuType) >= 0) then {
|
||||
private _target = GVAR(selectedTarget);
|
||||
|
||||
// Clear the conditions caches
|
||||
["ace_clearConditionCaches", []] call CBA_fnc_localEvent;
|
||||
[QGVAR(clearConditionCaches), []] call CBA_fnc_localEvent;
|
||||
|
||||
// Check the action conditions
|
||||
private _actionData = GVAR(selectedAction) select 0;
|
||||
@ -106,7 +106,7 @@ if (GVAR(openedMenuType) >= 0) then {
|
||||
[_target, _player, _actionData select 6] call (_actionData select 3);
|
||||
|
||||
// Clear the conditions caches again if the action was performed
|
||||
["ace_clearConditionCaches", []] call CBA_fnc_localEvent;
|
||||
[QGVAR(clearConditionCaches), []] call CBA_fnc_localEvent;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user