mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Remove client side disable sim on DZE_GodModeBase objects
Continuation ofd7a3b30This partially revertsea94ec4. Epoch has never disabled simulation client side on any buildables prior toea94ec4. 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user