diff --git a/SQF/dayz_code/compile/player_toggleSoundMute.sqf b/SQF/dayz_code/compile/player_toggleSoundMute.sqf index 8f2398b61..3ae72172e 100644 --- a/SQF/dayz_code/compile/player_toggleSoundMute.sqf +++ b/SQF/dayz_code/compile/player_toggleSoundMute.sqf @@ -3,7 +3,7 @@ private ["_background","_icon","_display"]; disableSerialization; _display = uiNamespace getVariable "DAYZ_GUI_display"; -if (!isNil "_display") then { +if (!isNil "_display" && !isNil "Dayz_loginCompleted") then { _background = _display displayCtrl 1904; _icon = _display displayCtrl 1204;