diff --git a/source/tools/atlas/AtlasUI/ScenarioEditor/Tools/Common/ObjectSettings.cpp b/source/tools/atlas/AtlasUI/ScenarioEditor/Tools/Common/ObjectSettings.cpp index 86388b7579..6bd0558192 100644 --- a/source/tools/atlas/AtlasUI/ScenarioEditor/Tools/Common/ObjectSettings.cpp +++ b/source/tools/atlas/AtlasUI/ScenarioEditor/Tools/Common/ObjectSettings.cpp @@ -153,6 +153,9 @@ void ObjectSettings::PostToGame() { if (m_SelectedObjects.empty()) return; - - POST_COMMAND(SetObjectSettings, (m_View, m_SelectedObjects[0], GetSettings())); + + for (std::vector::iterator it = m_SelectedObjects.begin(); it != m_SelectedObjects.end(); it++) + { + POST_COMMAND(SetObjectSettings, (m_View, *it, GetSettings())); + } }