Players can now join and leave as they wish. Still TODO: Need to fix player number.
This commit is contained in:
@@ -671,6 +671,7 @@ void mainWindowImpl::callJoinNetworkGameDialog() {
|
||||
mySession->terminateNetworkClient();
|
||||
mySession->terminateNetworkServer();
|
||||
|
||||
myWaitingForServerGameDialog->treeWidget->clear();
|
||||
// Maybe use QUrl::toPunycode.
|
||||
mySession->startNetworkClient(
|
||||
myJoinNetworkGameDialog->lineEdit_ipAddress->text().toUtf8().constData(),
|
||||
|
||||
Reference in New Issue
Block a user