1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Remove excessive code

This commit is contained in:
nordsoft 2022-11-08 05:03:33 +04:00
parent 17d8c646f2
commit 57dfeb2ff2
2 changed files with 1 additions and 6 deletions

View File

@ -217,11 +217,7 @@ void Lobby::serverCommand(const ServerCommand & command) try
gameArgs << "--lobby-address" << ui->hostEdit->text();
gameArgs << "--lobby-port" << ui->portEdit->text();
gameArgs << "--uuid" << args[0];
qobject_cast<MainWindow *>(qApp->activeWindow())->startGame(gameArgs);
//on_startGameButton_clicked
//node["names"].Vector().clear();
//node["names"].Vector().pushBack(username.toStdString());
qobject_cast<MainWindow *>(qApp->activeWindow())->startGame(gameArgs);
break;
}

View File

@ -130,7 +130,6 @@ private:
QString hostSession;
QString session;
QString username;
bool startGame = false;
QStringList gameArgs;
private: