Skip to content

Commit

Permalink
0.7.8: arreglado bug que te pone que no te bajaba al priemr nivel cua…
Browse files Browse the repository at this point in the history
…ndo te mataban
  • Loading branch information
martinlacorrona committed Nov 25, 2019
1 parent c0cf1dc commit faadbf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Globales.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var version ="v0.7.7";
var version ="v0.7.8";

var pulsaciones = []; // actuales registradas

Expand Down
3 changes: 2 additions & 1 deletion src/layers/GameLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,13 +582,14 @@ class GameLayer extends Layer {

perder() {
this.controladorJuego.reiniciarControlador();
this.iniciar();
this.mensaje = new Boton(imagenes.mensaje_perder, 480/2, 320/2);
this.pausa = true;
}

reiniciarNivel() {
this.iniciar();
this.controladorJuego.reiniciarNivel();
this.iniciar();
this.mensaje = new Boton(imagenes.mensaje_perderVida, 480/2, 320/2);
this.pausa = true;
}
Expand Down

0 comments on commit faadbf3

Please sign in to comment.