Fix for unable to access shed/geared objects until you relog.

https://epochmod.com/forum/topic/43482-storage-sheds-issue/
This commit is contained in:
oiad
2017-03-28 19:25:14 +13:00
committed by GitHub
parent 5abdefe792
commit d7a3b30753

View File

@@ -590,7 +590,7 @@ if (_canBuild select 0) then {
};
if (DZE_GodModeBase && {!(_classname in DZE_GodModeBaseExclude)}) then {
_tmpbuilt addEventHandler ["HandleDamage",{false}];
_tmpbuilt enableSimulation false;
if !(_classname in DZE_isNewStorage) then {_tmpbuilt enableSimulation false;};
};
} else { //if magazine was not removed, cancel publish
deleteVehicle _tmpbuilt;