This commit is contained in:
2026-02-26 15:45:27 +03:00
parent 2539ceee03
commit 06c2b1511a
5 changed files with 27 additions and 49 deletions

View File

@@ -200,7 +200,7 @@ void SceneManager::loadScene(const char* filename)
}
pugi::xml_node root = doc.document_element();
const char* scenefilename = root.child("SceneFile").attribute("filename").value();
const char* scenefilename = root.child("LevelDescription").child("SceneFile").attribute("filename").value();
m_sceneName = getFileNameWithoutExtension(scenefilename);