From 8a5f00a0e476e3b8c80a7febd4f84873034c3709 Mon Sep 17 00:00:00 2001 From: dylanabzr Date: Sun, 1 Sep 2024 13:07:33 -0300 Subject: [PATCH] Tirando um sleep --- src/ScreenManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScreenManager.cpp b/src/ScreenManager.cpp index 5f8fe72..f230019 100644 --- a/src/ScreenManager.cpp +++ b/src/ScreenManager.cpp @@ -58,7 +58,7 @@ void ScreenManager::ResetGameScreenIfNeeded(Board *board) { default: return; } - std::this_thread::sleep_for(std::chrono::seconds(1)); + } Music music = screens[actualScreen]->GetMusic(); if(IsMusicReady(music) && IsMusicStreamPlaying(music))