Hopefully get names 100% of the time now

This commit is contained in:
icomrade
2014-06-13 14:13:51 -04:00
parent b113c2e353
commit a79e86ba33
4 changed files with 11 additions and 6 deletions

View File

@@ -2,7 +2,9 @@ private ["_display","_body","_playerID","_array","_source","_method","_canHitFre
disableSerialization;
if (deathHandled) exitWith {};
deathHandled = true;
if ((alive player) && {isNil {dayz_playerName}}) then {
dayz_playerName = name player;
};
//Prevent client freezes
_display = findDisplay 49;
if(!isNull _display) then {_display closeDisplay 0;};