summaryrefslogtreecommitdiff
path: root/src/engine/editor/SceneManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/editor/SceneManager.cpp')
-rw-r--r--src/engine/editor/SceneManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/editor/SceneManager.cpp b/src/engine/editor/SceneManager.cpp
index bd3414474..f34b18adb 100644
--- a/src/engine/editor/SceneManager.cpp
+++ b/src/engine/editor/SceneManager.cpp
@@ -33,7 +33,7 @@ namespace Editor {
std::string SceneFile = "";
void SaveLevel() {
- auto props = gWorldInstance.CurrentCourse->Props;
+ auto props = gWorldInstance.GetCurrentCourse()->Props;
if ((CurrentArchive) && (!SceneFile.empty())) {
nlohmann::json data;