From f001e433e0220cd9e3d778700febb6bf8699bb6b Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Thu, 24 Jul 2025 20:07:40 +0200 Subject: [PATCH] corregit Game::updateGameStateShowingGetReadyMessage() --- source/sections/game.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/source/sections/game.cpp b/source/sections/game.cpp index 9a1479c..8db3d27 100644 --- a/source/sections/game.cpp +++ b/source/sections/game.cpp @@ -1680,13 +1680,7 @@ void Game::updateGameStateEnteringPlayer() { // Actualiza las variables durante dicho estado void Game::updateGameStateShowingGetReadyMessage() { - balloon_manager_->update(); - updatePathSprites(); - updatePlayers(); - updateBullets(); - updateScoreboard(); - updateBackground(); - freePathSprites(); + updateGameStatePlaying(); if (path_sprites_.empty()) { setState(GameState::PLAYING); } @@ -1721,7 +1715,6 @@ void Game::updateGameStatePlaying() { checkAndUpdateBalloonSpeed(); checkState(); cleanVectors(); - // playMusic(); } // VacĂ­a los vectores de elementos deshabilitados