Fixed ghost bug
This commit is contained in:
@@ -240,7 +240,8 @@ namespace Marro.PacManUdon
|
||||
|
||||
public void PacManCaught()
|
||||
{
|
||||
//StartTimeSequence(PacManTimeSequence.PacManCaught);
|
||||
return;
|
||||
StartTimeSequence(PacManTimeSequence.PacManCaught);
|
||||
}
|
||||
|
||||
public void NoGhostsScared()
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace Marro.PacManUdon
|
||||
}
|
||||
}
|
||||
|
||||
public void LifeLost()
|
||||
public void RestartAfterLifeLost()
|
||||
{
|
||||
SetSharedPelletCounterActive(true);
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace Marro.PacManUdon
|
||||
case 1:
|
||||
// Make maze visible
|
||||
RestartLevel();
|
||||
ghostManager.RestartAfterLifeLost();
|
||||
SetMazeVisible(true);
|
||||
break;
|
||||
case 2:
|
||||
|
||||
Reference in New Issue
Block a user