From 2bfc2ea9c2b982717e330267db1bc63f1b6e2c06 Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Thu, 14 May 2026 01:23:58 +0200 Subject: [PATCH] fix: warn on unhandled power-up type in GameBootstrap --- Assets/Scripts/Infrastructure/Unity/GameBootstrap.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/Scripts/Infrastructure/Unity/GameBootstrap.cs b/Assets/Scripts/Infrastructure/Unity/GameBootstrap.cs index 75a74dc..9fa78dc 100644 --- a/Assets/Scripts/Infrastructure/Unity/GameBootstrap.cs +++ b/Assets/Scripts/Infrastructure/Unity/GameBootstrap.cs @@ -387,6 +387,9 @@ namespace Infrastructure.Unity case PowerUpType.SpeedBoost: _playerInstance?.Status.AddEffect(new SpeedBoostEffect(dur)); break; + default: + Debug.LogWarning($"GameBootstrap: no effect handler for PowerUpType {t}"); + break; } }; }