mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
Use host and port from config
This commit is contained in:
@@ -673,7 +673,7 @@ void CServerHandler::restoreLastSession()
|
||||
myNames.push_back(name.String());
|
||||
resetStateForLobby(StartInfo::LOAD_GAME, &myNames);
|
||||
screenType = ESelectionScreen::loadGame;
|
||||
justConnectToServer("127.0.0.1", 3030);
|
||||
justConnectToServer(settings["server"]["server"].String(), settings["server"]["port"].Integer());
|
||||
};
|
||||
|
||||
auto cleanUpSession = []()
|
||||
|
Reference in New Issue
Block a user