summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2016-06-24 15:40:00 +0900
committervolzhs <volzhs@gmail.com>2016-06-24 15:40:00 +0900
commit515472bc524b3432667678bd1191042c3b6b03b1 (patch)
tree7b4eb277fc6c4823fcebc6b9388336962e9c0b96 /tools/editor
parent60fa2b98151ae2fc87d77ef52372eec82f7754dd (diff)
Fix network IP setting change
Fix #5368
Diffstat (limited to 'tools/editor')
-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