mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
reset interaction menu time variables on save game load
This commit is contained in:
parent
bf902da3ec
commit
fca8b51bb2
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user