diff options
Diffstat (limited to 'src/crepe/manager/SceneManager.cpp')
-rw-r--r-- | src/crepe/manager/SceneManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crepe/manager/SceneManager.cpp b/src/crepe/manager/SceneManager.cpp index 50a9fbb..d4ca90b 100644 --- a/src/crepe/manager/SceneManager.cpp +++ b/src/crepe/manager/SceneManager.cpp @@ -32,4 +32,7 @@ void SceneManager::load_next_scene() { // Load the new scene scene->load_scene(); + + //clear the next scene + next_scene.clear(); } |