mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
Prevent 'name' error when player is killed while logging in
Prevents WARNING: Function 'name' - x is dead when player is killed while logging in.
This commit is contained in:
@@ -11,7 +11,6 @@ while {true} do {
|
||||
};
|
||||
if ((!isNil "Dayz_loginCompleted") and {(Dayz_loginCompleted)}) exitWith {
|
||||
//diag_log [ __FILE__, __LINE__, "End loop"];
|
||||
dayz_playerName = if (alive player) then {name player} else {"unknown"};
|
||||
if (dayz_groupSystem) then {execVM "\z\addons\dayz_code\groups\init.sqf";};
|
||||
};
|
||||
_display = uiNameSpace getVariable "BIS_loadingScreen";
|
||||
|
||||
Reference in New Issue
Block a user