mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Allow maintain options even on godmodebases
This commit is contained in:
@@ -150,7 +150,6 @@ if (isServer and isNil "sm_done") then {
|
|||||||
if ((typeOf _object) in dayz_allowedObjects) then {
|
if ((typeOf _object) in dayz_allowedObjects) then {
|
||||||
if (DZE_GodModeBase) then {
|
if (DZE_GodModeBase) then {
|
||||||
_object addEventHandler ["HandleDamage", {false}];
|
_object addEventHandler ["HandleDamage", {false}];
|
||||||
_object setDamage 0;
|
|
||||||
} else {
|
} else {
|
||||||
_object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}];
|
_object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user