mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 19:00:07 +02:00
- only save ini for join menu if server IP address is different from the value already stored.
This commit is contained in:
@@ -547,8 +547,10 @@ void MenuStateJoinGame::connectToServer() {
|
||||
labelInfo.setText("");
|
||||
|
||||
//save server ip
|
||||
if(config.getString("ServerIp") != serverIp.getString()) {
|
||||
config.setString("ServerIp", serverIp.getString());
|
||||
config.save();
|
||||
}
|
||||
|
||||
for(time_t elapsedWait = time(NULL);
|
||||
clientInterface->getIntroDone() == false &&
|
||||
|
Reference in New Issue
Block a user