From c2226d11999ec6eb0123ad68716907c8e5dd11e1 Mon Sep 17 00:00:00 2001 From: volzhs Date: Fri, 24 Jun 2016 15:40:00 +0900 Subject: [PATCH] Fix network IP setting change Fix #5368 (cherry picked from commit 515472bc524b3432667678bd1191042c3b6b03b1) --- tools/editor/editor_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp index 58d700dbddb..b6680ca47d9 100644 --- a/tools/editor/editor_settings.cpp +++ b/tools/editor/editor_settings.cpp @@ -367,7 +367,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