mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Remove unnecessary rules and watermark waitUntils
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
private["_display","_control1","_control2"];
|
||||
private["_display","_control1","_control2","_watermark"];
|
||||
disableSerialization;
|
||||
//diag_log "DEBUG: loadscreen guard started.";
|
||||
|
||||
@@ -11,6 +11,19 @@ while {true} do {
|
||||
};
|
||||
if ((!isNil "Dayz_loginCompleted") and {(Dayz_loginCompleted)}) exitWith {
|
||||
//diag_log [ __FILE__, __LINE__, "End loop"];
|
||||
|
||||
// Logo watermark: adding a logo in the bottom left corner of the screen with the server name
|
||||
if (!isNil "dayZ_serverName") then {
|
||||
5 cutRsc ["wm_disp","PLAIN"];
|
||||
_watermark = (uiNamespace getVariable "wm_disp") displayCtrl 1;
|
||||
_watermark ctrlSetText dayZ_serverName;
|
||||
if (profileNamespace getVariable ["streamerMode",0] == 1) then {_watermark ctrlShow false;};
|
||||
};
|
||||
|
||||
if (dayz_enableRules && (profileNamespace getVariable ["streamerMode",0] == 0)) then {
|
||||
dayz_rulesHandle = execVM "rules.sqf";
|
||||
};
|
||||
|
||||
if (dayz_groupSystem) then {execVM "\z\addons\dayz_code\groups\init.sqf";};
|
||||
};
|
||||
_display = uiNameSpace getVariable "BIS_loadingScreen";
|
||||
|
||||
Reference in New Issue
Block a user