diff --git a/src/Editor/WorldEditor/CWorldEditor.cpp b/src/Editor/WorldEditor/CWorldEditor.cpp index 470fb9c3..d5cb5a09 100644 --- a/src/Editor/WorldEditor/CWorldEditor.cpp +++ b/src/Editor/WorldEditor/CWorldEditor.cpp @@ -1103,7 +1103,7 @@ void CWorldEditor::OnUnlinkClicked() for (CSelectionIterator It(mpSelection); It; ++It) { if (It->NodeType() == ENodeType::Script) - SelectedScriptNodes << static_cast(*It); + SelectedScriptNodes.push_back(static_cast(*It)); } if (!SelectedScriptNodes.isEmpty())