fix: el cursor del mouse no està amagat per defecte

This commit is contained in:
2025-03-07 22:44:53 +01:00
parent 9cf0891a04
commit b885aa8c9e
2 changed files with 4 additions and 2 deletions

View File

@@ -103,8 +103,8 @@ void Game::checkInput()
// Bucle para el juego
void Game::run()
{
JA_PlayMusic(Resource::get()->getMusic("game.ogg"));
if (!board_->music)
keepMusicPlaying();
if (!board_->music && mode_ == GameMode::GAME)
{
JA_PauseMusic();
}