From 515472bc524b3432667678bd1191042c3b6b03b1 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 --- 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 457aecba4aa..b89863289a5 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