also fade out when settings UI is open

This commit is contained in:
Gurge44 committed 2026-04-04 18:36:25 +02:00
1 parent 4e02ebe5aa
commit 3aadd618ea
1 file changed
+1 -1
+1 -1
View File
@@ -302,7 +302,7 @@ public class ClientControlGUI : MonoBehaviour
}
// 90% transparent when in game and panel is closed, full opacity otherwise
bool fadeOut = !IsOpen && GameStates.IsInGame;
bool fadeOut = !IsOpen && (GameStates.IsInGame || GameSettingMenu.Instance);
Color prev = GUI.color;
if (fadeOut) GUI.color = new Color(1f, 1f, 1f, 0.10f);