Fix shop not closing on buy item

This commit is contained in:
2024-10-22 17:33:24 -07:00
parent 9ac56da613
commit f844d05ed5

View File

@@ -46,5 +46,6 @@ public class ShopButton : MonoBehaviour
player.dashCooldownSeconds += amount;
break;
}
GameObject.FindGameObjectWithTag("GameController").GetComponent<GameState>().NewWave();
}
}