remove towers on player leave

This commit is contained in:
Simon Pribylski
2023-08-26 10:25:52 +02:00
parent 1f94ae2586
commit 51ec035490
3 changed files with 19 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ public:
virtual void OnGameClose() override;
virtual void OnPlayerJoin(game::PlayerID id) override;
virtual void OnPlayerLeave(game::PlayerID id) override;
private:
void BalanceTeams();
void InitPlayerStats();