Working on ghost issues
This commit is contained in:
@@ -193,7 +193,7 @@ namespace Marro.PacManUdon
|
||||
}
|
||||
|
||||
// Debug.Log($"{gameObject} GhostCaughtQueue with ghost {ghost}");
|
||||
networkManager.SendEventSoon(NetworkEventType.GhostUpdate);
|
||||
//networkManager.SendEventSoon(NetworkEventType.GhostUpdate);
|
||||
ghostScaredQueue.Add(ghost);
|
||||
GhostCaughtExecute(ghost);
|
||||
}
|
||||
@@ -576,6 +576,7 @@ namespace Marro.PacManUdon
|
||||
}
|
||||
ghostScaredQueue.Add(ghosts[ghostIndex]);
|
||||
}
|
||||
index += ghosts.Length;
|
||||
Debug.Log($"{gameObject} Read back a ghostScareQueue of length {ghostScaredQueue.Count}");
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user