mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
testing if this is the cause for being unable to get target after restart.
This commit is contained in:
parent
73346388be
commit
3bba54789b
Binary file not shown.
@ -109,7 +109,7 @@ for "_i" from 1 to _this do {
|
|||||||
// set locked state of secure storage
|
// set locked state of secure storage
|
||||||
if ((_arr select 6) != -1) then {
|
if ((_arr select 6) != -1) then {
|
||||||
_vehicle setVariable["EPOCH_Locked", true, true];
|
_vehicle setVariable["EPOCH_Locked", true, true];
|
||||||
_vehicle enableSimulationGlobal false;
|
//_vehicle enableSimulationGlobal false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -16,11 +16,11 @@ _fnc_lock = {
|
|||||||
_this setVariable ["EPOCH_Locked", true, true];
|
_this setVariable ["EPOCH_Locked", true, true];
|
||||||
// force save on lock
|
// force save on lock
|
||||||
if !(_this in EPOCH_saveStorQueue) then { EPOCH_saveStorQueue pushBack _this };
|
if !(_this in EPOCH_saveStorQueue) then { EPOCH_saveStorQueue pushBack _this };
|
||||||
_this enableSimulationGlobal false;
|
//_this enableSimulationGlobal false;
|
||||||
};
|
};
|
||||||
_fnc_unlock = {
|
_fnc_unlock = {
|
||||||
_this setVariable ["EPOCH_Locked", false, true];
|
_this setVariable ["EPOCH_Locked", false, true];
|
||||||
_this enableSimulationGlobal true;
|
//_this enableSimulationGlobal true;
|
||||||
};
|
};
|
||||||
// functions
|
// functions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user