diff --git a/core/src/com/me/pacman/state/PlayState.java b/core/src/com/me/pacman/state/PlayState.java index 0acef02..083f516 100644 --- a/core/src/com/me/pacman/state/PlayState.java +++ b/core/src/com/me/pacman/state/PlayState.java @@ -144,7 +144,6 @@ public class PlayState extends LevelState { } private void resetField() { - lives--; frightTimer = 0f; ghostsCaught = 0; lastGhostCaptured = null; @@ -169,6 +168,7 @@ public class PlayState extends LevelState { } private void newGame() { + lives--; initializeRound(); resetField(); } @@ -449,6 +449,7 @@ public class PlayState extends LevelState { pacman.update(dt); if (pacman.deathFrame == 13) { if (lives > 0) { + lives--; resetField(); setGameState(GameState.START_ROUND_WAIT); } else {