corregit Game::updateGameStateShowingGetReadyMessage()

This commit is contained in:
2025-07-24 20:07:40 +02:00
parent 9eb97fd61c
commit f001e433e0

View File

@@ -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