mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix undefined variable _display error
This commit is contained in:
@@ -27,12 +27,14 @@ while {true} do {
|
|||||||
if (dayz_groupSystem) then {execVM "\z\addons\dayz_code\groups\init.sqf";};
|
if (dayz_groupSystem) then {execVM "\z\addons\dayz_code\groups\init.sqf";};
|
||||||
};
|
};
|
||||||
_display = uiNameSpace getVariable "BIS_loadingScreen";
|
_display = uiNameSpace getVariable "BIS_loadingScreen";
|
||||||
if ((!isNil "_display") and {(dayz_loadScreenMsg != "" )}) then {
|
if (!isNil "_display") then {
|
||||||
_control1 = _display displayctrl 8400;
|
if (dayz_loadScreenMsg != "" ) then {
|
||||||
_control1 ctrlSetText dayz_loadScreenMsg;
|
_control1 = _display displayctrl 8400;
|
||||||
|
_control1 ctrlSetText dayz_loadScreenMsg;
|
||||||
|
};
|
||||||
|
_control2 = _display displayctrl 102;
|
||||||
|
_control2 ctrlSetText format["%1",floor(diag_ticktime - _timeoutStart)];
|
||||||
};
|
};
|
||||||
_control2 = _display displayctrl 102;
|
|
||||||
_control2 ctrlSetText format["%1",floor(diag_ticktime - _timeoutStart)];
|
|
||||||
|
|
||||||
uiSleep 0.2;
|
uiSleep 0.2;
|
||||||
//diag_log [ __FILE__, __LINE__, "Looping..."];
|
//diag_log [ __FILE__, __LINE__, "Looping..."];
|
||||||
|
|||||||
Reference in New Issue
Block a user