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/api/LoopManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/crepe/api/LoopManager.cpp') 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(); +} -- cgit v1.2.3