mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-26 11:43:54 +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
|
// EPOCH DEATH MESSAGES
|
||||||
_suicide = _sourceName == _playerName;
|
_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 {
|
if (_suicide) then {
|
||||||
_message = ["suicide",_playerName];
|
_message = ["suicide",_playerName];
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user