diff --git a/src/main/java/pacmanGame/GameManager.java b/src/main/java/pacmanGame/GameManager.java index 9e527b9..0b0e6d0 100644 --- a/src/main/java/pacmanGame/GameManager.java +++ b/src/main/java/pacmanGame/GameManager.java @@ -58,7 +58,7 @@ public class GameManager { if(time%moveSpeed == 0) { player.Move(); if(ghostPlayerColisionTest()) { - livesRemaining--; + handleGhostCollision(); } for(int i = 0; i