Pass on admin state if the admin leaves the network game, so that someone else can start the game.
This commit is contained in:
1 parent
8385b2e28d
commit
076d44b0ae
19 files changed
+239
-49
No files matched your search
@@ -71,6 +71,7 @@ public slots:
|
||||
void addConnectedPlayer(unsigned, QString, int);
|
||||
void updatePlayer(unsigned, QString);
|
||||
void removePlayer(unsigned, QString);
|
||||
void newGameAdmin(unsigned, QString);
|
||||
|
||||
void playerSelected(QTreeWidgetItem*, QTreeWidgetItem*);
|
||||
void refresh(int actionID);
|
||||
@@ -99,6 +100,7 @@ private:
|
||||
Session *mySession;
|
||||
createInternetGameDialogImpl *myCreateInternetGameDialog;
|
||||
QString currentGameName;
|
||||
unsigned myPlayerId;
|
||||
bool isAdmin;
|
||||
bool inGame;
|
||||
LobbyChat *myChat;
|
||||
|
||||
Reference in new issue
Block a user