aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 17:17:54 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 17:17:54 +0100
commit61e13d06b1062cb0c41db3ca59bb09c0aff1dd95 (patch)
treebf058022968fdcc4496f9fbce7fd6a3f24905001 /src/crepe/api
parente7d90aa34ebb5898785d8432e01f25c5b03d021b (diff)
fixed a small mistake in sceneManager and added the load_next_scene to the loop
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/LoopManager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crepe/api/LoopManager.cpp b/src/crepe/api/LoopManager.cpp
index de249ec..15fa52d 100644
--- a/src/crepe/api/LoopManager.cpp
+++ b/src/crepe/api/LoopManager.cpp
@@ -78,4 +78,6 @@ bool LoopManager::on_shutdown(const ShutDownEvent & e) {
return false;
}
-void LoopManager::frame_update() {}
+void LoopManager::frame_update() {
+ this->scene_manager.load_next_scene();
+}