From 7bcee4f662b20b8e2e7183bb6bd4cb061fa14e12 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Sun, 22 Dec 2024 00:11:56 +0100 Subject: added menu buttons + scene switching --- src/crepe/api/Engine.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/crepe/api/Engine.cpp') diff --git a/src/crepe/api/Engine.cpp b/src/crepe/api/Engine.cpp index 2e9d35a..4add4e1 100644 --- a/src/crepe/api/Engine.cpp +++ b/src/crepe/api/Engine.cpp @@ -54,6 +54,7 @@ void Engine::loop() { try { systems.frame_update(); + this->scene_manager.load_next_scene(); } catch (const exception & e) { Log::logf(Log::Level::WARNING, "Uncaught exception in frame update function: {}\n", e.what()); -- cgit v1.2.3