Update ui_changeDisplay.sqf

This commit is contained in:
worldwidesorrow
2020-02-12 04:57:05 -06:00
committed by GitHub
parent d89a05695b
commit a303089151

View File

@@ -1,7 +1,13 @@
disableSerialization;
if (profileNamespace getVariable ["statusUI",1] == 1) then {
3 cutRsc [if (toLower DZE_UI == "vanilla") then {"playerStatusGUI"} else {"playerStatusGUI_epoch"},"PLAIN",0];
private "_style";
_style = call {
if (toLower DZE_UI == "vanilla") exitWith {"playerStatusGUI"};
if (toLower DZE_UI in ["whiteborders","greenborders"]) exitWith {"playerStatusGUI_legacy"};
"playerStatusGUI_epoch"; // default
};
3 cutRsc [_style,"PLAIN",0];
call player_updateGui;
call ui_initDisplay;
hintSilent "";