From 61e13d06b1062cb0c41db3ca59bb09c0aff1dd95 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Mon, 9 Dec 2024 17:17:54 +0100 Subject: fixed a small mistake in sceneManager and added the load_next_scene to the loop --- src/crepe/manager/SceneManager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/crepe/manager/SceneManager.cpp') 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(); } -- cgit v1.2.3