check for maxnumberofplayers to start network game
doubleclick on join list item will directly connect
This commit is contained in:
1 parent
2e12f1bc25
commit
e8cbac12cc
4 files changed
+38
-1
No files matched your search
@@ -703,6 +703,7 @@ void mainWindowImpl::callCreateNetworkGameDialog() {
|
||||
myServerGuiInterface->getSession().startNetworkServer(gameData);
|
||||
mySession->startNetworkClientForLocalServer();
|
||||
|
||||
myStartNetworkGameDialog->setMaxPlayerNumber(gameData.numberOfPlayers);
|
||||
myStartNetworkGameDialog->exec();
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user