Simplified GhostManager restart more
This commit is contained in:
@@ -95,10 +95,7 @@ namespace Marro.PacManUdon
|
||||
}
|
||||
|
||||
SetScattering(true, reverseDirection: false);
|
||||
}
|
||||
|
||||
public void NewLevel()
|
||||
{
|
||||
SetSharedPelletCounterActive(false);
|
||||
UpdateElroyLevel(collisionManager.PelletCount);
|
||||
foreach (Ghost ghost in ghosts)
|
||||
@@ -292,9 +289,8 @@ namespace Marro.PacManUdon
|
||||
for (int i = 0; i < ghosts.Length; i++)
|
||||
{
|
||||
ghosts[i].SetHousePelletCounterLimit(privatePelletCounterReleaseValues[i]);
|
||||
ghosts[i].UpdateSpeed();
|
||||
}
|
||||
|
||||
RestartLevel(); // Reset needed to properly apply level
|
||||
}
|
||||
|
||||
private void SetLevelConstants(int level)
|
||||
|
||||
Reference in New Issue
Block a user