Browse Source

Merge pull request #5382 from volzhs/fix-save-ip

Fix network IP setting change
Rémi Verschelde 9 years ago
parent
commit
8cd1eb5e4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/editor/editor_settings.cpp

+ 1 - 1
tools/editor/editor_settings.cpp

@@ -423,7 +423,7 @@ void EditorSettings::setup_network() {
 		if (ip=="127.0.0.1")
 			continue;
 
-		if (lip!="")
+		if (lip=="")
 			lip=ip;
 		if (ip==current)
 			lip=current; //so it saves