Pellet sync
This commit is contained in:
@@ -316,16 +316,14 @@ namespace Marro.PacManUdon
|
||||
Pellet pellet = other.gameObject.GetComponent<Pellet>();
|
||||
if (pellet)
|
||||
{
|
||||
pellet.gameObject.SetActive(false);
|
||||
|
||||
if (pellet.isPowerPellet)
|
||||
{
|
||||
gameController.GotPowerPellet();
|
||||
gameController.GotPowerPellet(pellet);
|
||||
freezeSeconds = 0.05f;
|
||||
}
|
||||
else
|
||||
{
|
||||
gameController.GotPellet();
|
||||
gameController.GotPellet(pellet);
|
||||
freezeSeconds = 0.0166666666666667f;
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user