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,7 +2,6 @@ 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 {
|
||||||
@@ -12,4 +11,3 @@ if (!isNull _display) then {
|
|||||||
} else {
|
} else {
|
||||||
_display displayCtrl 1 ctrlShow true;
|
_display displayCtrl 1 ctrlShow true;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
Reference in New Issue
Block a user