mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +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:
@@ -127,7 +127,6 @@ if ((count _upgrade) > 0) then {
|
||||
};
|
||||
if (DZE_GodModeBase && {!(_classname in DZE_GodModeBaseExclude)}) then {
|
||||
_object addEventHandler ["HandleDamage",{false}];
|
||||
_object enableSimulation false;
|
||||
};
|
||||
if (DZE_permanentPlot) then {
|
||||
_ownerID = _obj getVariable["ownerPUID","0"];
|
||||
|
||||
Reference in New Issue
Block a user