check for maxnumberofplayers to start network game
doubleclick on join list item will directly connect
This commit is contained in:
@@ -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