reset interaction menu time variables on save game load

This commit is contained in:
commy2 2016-01-12 19:32:26 +01:00
parent bf902da3ec
commit fca8b51bb2

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;