Update damage handler diag_log

Vanilla commit:

21864d065c
This commit is contained in:
ebaydayz
2016-11-18 16:36:37 -05:00
parent bec4ccce38
commit da5285e0ec
3 changed files with 28 additions and 30 deletions

View File

@@ -41,8 +41,7 @@ diag_log format ["Player UID#%3 CID#%4 %1 as %5 died at %2",
];
#endif
// EPOCH DEATH MESSAGES
// DEATH MESSAGES
_suicide = _sourceName == _playerName;
if (_method in ["explosion","melee","shot","shothead","shotheavy"] && !(_method == "explosion" && (_suicide or _sourceName == "unknown"))) then {
@@ -79,7 +78,6 @@ if (_playerName != "unknown" or _sourceName != "unknown") then {
diag_log format["DeathMessage: %1",_message];
};
_newObject setDamage 1;
_newObject setOwner 0;
//dead_bodyCleanup set [count dead_bodyCleanup,_newObject];