mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Remove unneeded check in toggle streamer mode
This commit is contained in:
@@ -2,14 +2,12 @@ private "_display";
|
||||
disableSerialization;
|
||||
_display = uiNamespace getVariable ["wm_disp",displayNull];
|
||||
|
||||
if (!isNull _display) then {
|
||||
if (profileNamespace getVariable ["streamerMode",0] == 1) then {
|
||||
_display displayCtrl 1 ctrlShow false;
|
||||
if (!isNil "dayz_rulesHandle") then {
|
||||
terminate dayz_rulesHandle;
|
||||
dayz_rulesHandle = nil;
|
||||
};
|
||||
} else {
|
||||
_display displayCtrl 1 ctrlShow true;
|
||||
if (profileNamespace getVariable ["streamerMode",0] == 1) then {
|
||||
_display displayCtrl 1 ctrlShow false;
|
||||
if (!isNil "dayz_rulesHandle") then {
|
||||
terminate dayz_rulesHandle;
|
||||
dayz_rulesHandle = nil;
|
||||
};
|
||||
} else {
|
||||
_display displayCtrl 1 ctrlShow true;
|
||||
};
|
||||
Reference in New Issue
Block a user