mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +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;
|
||||
|
||||
@@ -110,7 +110,7 @@ if (count _upgrade > 0) then {
|
||||
|
||||
if (DZE_GodModeBase && {!(_classname in DZE_GodModeBaseExclude)}) then {
|
||||
|
||||
_object addEventHandler ["HandleDamage", {false}];
|
||||
_object addEventHandler ["HandleDamage", {0}];
|
||||
|
||||
} else {
|
||||
//
|
||||
|
||||
@@ -188,7 +188,7 @@ if ((count _upgrade) > 0) then {
|
||||
|
||||
if (DZE_GodModeBase && {!(_classname in DZE_GodModeBaseExclude)}) then {
|
||||
|
||||
_object addEventHandler ["HandleDamage",{false}];
|
||||
_object addEventHandler ["HandleDamage",{0}];
|
||||
|
||||
} else {
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user