From 7fa63c46c6a7a4b327b375b32f445a1eb624dd20 Mon Sep 17 00:00:00 2001 From: tenshi Date: Sun, 5 Nov 2023 16:00:47 +0100 Subject: [PATCH] BLUGA: Remove duplicate func call --- libs/B-luga/include/B-luga/SceneManager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/B-luga/include/B-luga/SceneManager.hpp b/libs/B-luga/include/B-luga/SceneManager.hpp index d18befe..b5424e6 100644 --- a/libs/B-luga/include/B-luga/SceneManager.hpp +++ b/libs/B-luga/include/B-luga/SceneManager.hpp @@ -30,7 +30,7 @@ namespace Scene { { try { Registry::getInstance().callback(Events::BEFORE_LOOP); - while (!_stop && !Raylib::Window::windowShouldClose()) { + while (!_stop) { Registry::getInstance().callback(Events::START_LOOP); auto scene = _scenes.at(static_cast(_currentScene)); updateSystemManagers(scene);