testing if this is the cause for being unable to get target after restart.

This commit is contained in:
vbawol 2015-12-18 20:23:22 -06:00
parent 73346388be
commit 3bba54789b
3 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ for "_i" from 1 to _this do {
// set locked state of secure storage
if ((_arr select 6) != -1) then {
_vehicle setVariable["EPOCH_Locked", true, true];
_vehicle enableSimulationGlobal false;
//_vehicle enableSimulationGlobal false;
};
};
};

View File

@ -16,11 +16,11 @@ _fnc_lock = {
_this setVariable ["EPOCH_Locked", true, true];
// force save on lock
if !(_this in EPOCH_saveStorQueue) then { EPOCH_saveStorQueue pushBack _this };
_this enableSimulationGlobal false;
//_this enableSimulationGlobal false;
};
_fnc_unlock = {
_this setVariable ["EPOCH_Locked", false, true];
_this enableSimulationGlobal true;
//_this enableSimulationGlobal true;
};
// functions