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