Fixed two bugs concerning lobby player notifications: Game state is now set correctly after a game was finished and reopened, for players which are joining afterwards.
Computer players are now properly removed from finished games.
This commit is contained in:
@@ -80,6 +80,8 @@ protected:
|
||||
virtual void Main();
|
||||
|
||||
void InternalStartGame();
|
||||
void ResetGame();
|
||||
|
||||
void InternalKickPlayer(unsigned playerId);
|
||||
|
||||
PlayerDataList GetFullPlayerDataList() const;
|
||||
@@ -88,6 +90,7 @@ protected:
|
||||
void ResetComputerPlayerList();
|
||||
|
||||
void GracefulRemoveSession(SessionWrapper session);
|
||||
void RemovePlayerData(boost::shared_ptr<PlayerData> player);
|
||||
void ErrorRemoveSession(SessionWrapper session);
|
||||
void SessionError(SessionWrapper session, int errorCode);
|
||||
void MoveSessionToLobby(SessionWrapper session, int reason);
|
||||
|
||||
Reference in New Issue
Block a user