Skip to content

Commit

Permalink
fix bug al spamear el boton para mutear/desmutear
Browse files Browse the repository at this point in the history
musica
  • Loading branch information
NahuelMarek committed Nov 30, 2024
1 parent c7584ea commit 98c1513
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions administradorDeJuego.wlk
Original file line number Diff line number Diff line change
Expand Up @@ -383,11 +383,15 @@ var imagen="botonMuteo.png"
var muteada=true
method accion(){
if (muteada){
administradorDeJuego.usuarioEnMenu(false)
game.schedule(1500, {administradorDeJuego.usuarioEnMenu(true)})
configuracion.iniciarMusica()
imagen="botonDesmuteoSeleccionado.png"
muteada=false
}
else {
administradorDeJuego.usuarioEnMenu(false)
game.schedule(1500, {administradorDeJuego.usuarioEnMenu(true)})
configuracion.detenerMusica()
imagen="botonMuteoSeleccionado.png"
muteada=true
Expand Down

0 comments on commit 98c1513

Please sign in to comment.