menuClosed event before variable clearing

This commit is contained in:
SilentSpike 2015-06-08 13:00:03 +01:00
parent cb1b0c6262
commit 246d303943

View File

@ -46,6 +46,8 @@ if(GVAR(actionSelected)) then {
};
};
["interactMenuClosed", [GVAR(openedMenuType)]] call EFUNC(common,localEvent);
GVAR(keyDown) = false;
GVAR(keyDownSelfAction) = false;
GVAR(openedMenuType) = -1;
@ -54,6 +56,4 @@ GVAR(expanded) = false;
GVAR(lastPath) = [];
GVAR(menuDepthPath) = [];
["interactMenuClosed", [GVAR(openedMenuType)]] call EFUNC(common,localEvent);
true