Show and update admin player of a game even when in lobby and not in the game.
This commit is contained in:
+2
-1
@@ -69,10 +69,11 @@ struct GameData
|
||||
|
||||
struct GameInfo
|
||||
{
|
||||
GameInfo() : mode(GAME_MODE_CREATED), isPasswordProtected(false) {}
|
||||
GameInfo() : mode(GAME_MODE_CREATED), adminPlayerId(0), isPasswordProtected(false) {}
|
||||
std::string name;
|
||||
GameData data;
|
||||
GameMode mode;
|
||||
unsigned adminPlayerId;
|
||||
PlayerIdList players;
|
||||
bool isPasswordProtected;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user