Remove client side disable sim on DZE_GodModeBase objects

Continuation of d7a3b30
This partially reverts ea94ec4.

Epoch has never disabled simulation client side on any buildables prior
to ea94ec4. We now know it disables storage capability, may disable
lighting the object with scripted light sources and potentially cause
other issues.
https://community.bistudio.com/wiki/enableSimulation

If we readd this in the future it should be well tested. It should also
be done properly in the vehicle init field, so it takes affect on all
clients, including JIP, instead of only the player building it (until
they relog).
This commit is contained in:
ebayShopper
2017-03-31 16:15:07 -04:00
parent d5e808e4d1
commit 6717b0c26e
5 changed files with 1 additions and 4 deletions

View File

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