diff --git a/application/editormodeselftestterrain.cpp b/application/editormodeselftestterrain.cpp index ed796d446..9a288ba96 100644 --- a/application/editormodeselftestterrain.cpp +++ b/application/editormodeselftestterrain.cpp @@ -148,8 +148,8 @@ editor_mode::selftest_result editor_mode::selftest_terrain(std::string const &co } if (command == "nmtsettings") { - // as the terrain panel changes them, kept with the editor the next frame (keep_nmt_settings); the terrain while laying at - // once, as its chip keeps it + // as the terrain panel changes them, kept with the editor the next frame (keep_nmt_settings); the terrain while laying and + // the area for the run only, the settings of the tester's own editor left as they are auto &state{m_nmt_state}; std::string key; double value{0.0}; @@ -170,11 +170,7 @@ editor_mode::selftest_result editor_mode::selftest_terrain(std::string const &co else if (key == "fitted") state.fitted = value != 0.0; else if (key == "grow") - { - state.grow = value != 0.0; - EditorSettings.terrain_while_laying(state.grow); - EditorSettings.save(); - } + state.grow = value != 0.0; // for the run only, as area: the setting isn't touched, so the tester's own file stays as it was else if (key == "area") m_area_terrain.run_only = value != 0.0; // for the run only: the setting isn't touched, so no save keeps it }