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