Fix death message handling of vehicle explosion

This commit is contained in:
ebaydayz
2016-10-07 15:08:00 -04:00
parent 79d2b268a8
commit a909d713c3

View File

@@ -45,7 +45,7 @@ diag_log format ["Player UID#%3 CID#%4 %1 as %5 died at %2",
// EPOCH DEATH MESSAGES
_suicide = _sourceName == _playerName;
if (_method in ["explosion","melee","shot","shothead","shotheavy"] && !(_method == "explosion" && _suicide)) then {
if (_method in ["explosion","melee","shot","shothead","shotheavy"] && !(_method == "explosion" && (_suicide or _sourceName == "unknown"))) then {
if (_suicide) then {
_message = ["suicide",_playerName];
} else {