Fix shop not closing on buy item
This commit is contained in:
@@ -46,5 +46,6 @@ public class ShopButton : MonoBehaviour
|
||||
player.dashCooldownSeconds += amount;
|
||||
break;
|
||||
}
|
||||
GameObject.FindGameObjectWithTag("GameController").GetComponent<GameState>().NewWave();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user