Fix menu instantly disappearing

This commit is contained in:
SilentSpike 2017-12-21 18:56:50 +00:00
parent 57c0596238
commit 03841b8738

View File

@ -29,7 +29,10 @@ if (GVAR(uiVisible)) then {
_tabs ctrlSetBackgroundColor [0,0,0,0];
_tabs ctrlSetFade 0.5;
// Taking focus away from context menu kills it
if (isNull (GETUVAR(GVAR(context),controlNull))) then {
ctrlSetFocus CTRL_MOUSE;
};
showChat true;
} else {