diff --git a/source/main/gui/panels/GUI_FrictionSettings.cpp b/source/main/gui/panels/GUI_FrictionSettings.cpp index d5c27dd869..515e196bb1 100644 --- a/source/main/gui/panels/GUI_FrictionSettings.cpp +++ b/source/main/gui/panels/GUI_FrictionSettings.cpp @@ -134,6 +134,7 @@ bool FrictionSettings::GmComboItemGetter(void* data, int idx, const char** out_t void FrictionSettings::AnalyzeTerrain() { + m_gm_entries.clear(); auto itor = App::GetSimTerrain()->GetCollisions()->getGroundModels()->begin(); auto endi = App::GetSimTerrain()->GetCollisions()->getGroundModels()->end(); for (; itor != endi; ++itor)