Merge pull request #3150 from acemod/fixinteractmenusavegame

reset interaction menu time variables on save game load
This commit is contained in:
commy2 2016-03-10 23:46:37 +01:00
commit 7c2977ed47

View File

@ -45,6 +45,13 @@ GVAR(expanded) = false;
GVAR(startHoverTime) = ACE_diagTime;
GVAR(expandedTime) = ACE_diagTime;
// reset on mission load
addMissionEventHandler ["Loaded", {
GVAR(startHoverTime) = 0;
GVAR(expandedTime) = 0;
}];
GVAR(iconCtrls) = [];
GVAR(iconCount) = 0;