diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp index 5e6a548f..f6679413 100644 --- a/src/level/robotmain.cpp +++ b/src/level/robotmain.cpp @@ -3603,16 +3603,11 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject) { // Create the scoreboard m_scoreboard = MakeUnique(); + m_scoreboard->SetSortType(line->GetParam("sort")->AsSortType(CScoreboard::SortType::SORT_ID)); } continue; } - if (line->GetCommand() == "ScoreboardSortType" && !resetObject) - { - m_scoreboard->SetSortType(line->GetParam("sort")->AsSortType()); - continue; - } - if (line->GetCommand() == "ScoreboardKillRule" && !resetObject) { if (!m_scoreboard)