Merge pull request #1019 from acemod/fixKeyUpScriptError

Fix script error when going unconscious with interaction menu opened
This commit is contained in:
Glowbal 2015-05-05 20:13:13 +02:00
commit 1698a6330c

View File

@ -57,7 +57,7 @@ addMissionEventHandler ["Draw3D", DFUNC(render)];
if (_unit != ACE_player || !_isUnconscious) exitWith {};
GVAR(actionSelected) = false;
[] call FUNC(keyUp);
[GVAR(openedMenuType), false] call FUNC(keyUp);
}] call EFUNC(common,addEventhandler);
// disable firing while the interact menu is is is opened