From f844d05ed57d88a8534b8a429f94dfb5813eacc6 Mon Sep 17 00:00:00 2001 From: ProtoSharkk Date: Tue, 22 Oct 2024 17:33:24 -0700 Subject: [PATCH] Fix shop not closing on buy item --- Assets/ShopButton.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/ShopButton.cs b/Assets/ShopButton.cs index 898fca5..f68605d 100644 --- a/Assets/ShopButton.cs +++ b/Assets/ShopButton.cs @@ -46,5 +46,6 @@ public class ShopButton : MonoBehaviour player.dashCooldownSeconds += amount; break; } + GameObject.FindGameObjectWithTag("GameController").GetComponent().NewWave(); } }