mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
Fix death message handling of vehicle explosion
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user