Fixed ghost bug

This commit is contained in:
2026-01-18 17:14:15 +01:00
parent f2910d7506
commit eef7084e21
3 changed files with 4 additions and 2 deletions

View File

@@ -240,7 +240,8 @@ namespace Marro.PacManUdon
public void PacManCaught()
{
//StartTimeSequence(PacManTimeSequence.PacManCaught);
return;
StartTimeSequence(PacManTimeSequence.PacManCaught);
}
public void NoGhostsScared()

View File

@@ -101,7 +101,7 @@ namespace Marro.PacManUdon
}
}
public void LifeLost()
public void RestartAfterLifeLost()
{
SetSharedPelletCounterActive(true);
}

View File

@@ -14,6 +14,7 @@ namespace Marro.PacManUdon
case 1:
// Make maze visible
RestartLevel();
ghostManager.RestartAfterLifeLost();
SetMazeVisible(true);
break;
case 2: