remove player from team when leaving
This commit is contained in:
@@ -67,6 +67,8 @@ public:
|
||||
|
||||
const TeamList& GetTeams() const { return m_Teams; }
|
||||
|
||||
void RemovePlayer(PlayerID pId);
|
||||
|
||||
};
|
||||
|
||||
} // namespace game
|
||||
|
||||
@@ -74,6 +74,7 @@ public:
|
||||
|
||||
void AddPlayer(Player* newPlayer);
|
||||
void RemovePlayer(const Player* player);
|
||||
void ClearPlayers();
|
||||
|
||||
TeamColor GetColor() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user