Remove unneeded check in toggle streamer mode

This commit is contained in:
ebaydayz
2016-10-19 16:02:43 -04:00
parent d13aafcd0c
commit 8beba72cbb

View File

@@ -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;
}; };
};