From 36c050f1121866504bd9fa7924bf976c3266db95 Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Sun, 23 Feb 2025 22:39:55 +0100 Subject: [PATCH] Removed state exception --- Scripts/Hud.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Scripts/Hud.cs b/Scripts/Hud.cs index 381cd9c9..9e5a884c 100644 --- a/Scripts/Hud.cs +++ b/Scripts/Hud.cs @@ -206,8 +206,6 @@ public partial class Hud : CanvasLayer case GameState.Dialogue: ClearPauseMenu(); break; - default: - throw new ArgumentOutOfRangeException(nameof(state), state, null); } }