From 2c8f236f958144e72bda0c5e9c1dd2cace777b95 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Thu, 8 Dec 2016 14:37:04 -0500 Subject: [PATCH] Fix death message in potential case of suicide --- SQF/dayz_code/compile/player_death.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/SQF/dayz_code/compile/player_death.sqf b/SQF/dayz_code/compile/player_death.sqf index 7eb7cb9ef..f46acd17b 100644 --- a/SQF/dayz_code/compile/player_death.sqf +++ b/SQF/dayz_code/compile/player_death.sqf @@ -50,6 +50,7 @@ if (count _this > 0) then { if (alive _source) then { _sourceName = if (isPlayer _source) then {name _source} else {localize "STR_PLAYER_AI"}; }; + if (_source == _body) then {_sourceName = dayz_playerName;}; }; };