summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-06-24 21:16:31 +0200
committerGitHub <noreply@github.com>2016-06-24 21:16:31 +0200
commit8cd1eb5e4fc5b966ea0950e859625ccbc1d231af (patch)
tree24f6584750da79f13199cd912f4e5d2de38bc47f
parentd52fa2e0ebc5eec796d243286494afae55d3a31a (diff)
parent515472bc524b3432667678bd1191042c3b6b03b1 (diff)
Merge pull request #5382 from volzhs/fix-save-ip
Fix network IP setting change
-rw-r--r--tools/editor/editor_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp
index 457aecba4a..b89863289a 100644
--- a/tools/editor/editor_settings.cpp
+++ b/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