mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-16 21:22:57 +03:00
Fix MPKilled mp evh call on client, add correct 0 return value for all HandleDamage evhs when godmode
This commit is contained in:
@@ -1580,7 +1580,7 @@ if (_canBuild) then {
|
||||
};
|
||||
};
|
||||
if (DZE_GodModeBase && {!(_classname in DZE_GodModeBaseExclude)}) then {
|
||||
_builtObject addEventHandler ["HandleDamage", {false}];
|
||||
_builtObject addEventHandler ["HandleDamage", {0}];
|
||||
};
|
||||
} else { // if magazine was not removed, cancel publish
|
||||
deleteVehicle _builtObject;
|
||||
|
||||
Reference in New Issue
Block a user