Working on ghost issues

This commit is contained in:
2026-01-24 16:23:53 +01:00
parent 1433b9bdfc
commit 912be35172
5 changed files with 980 additions and 975 deletions

View File

@@ -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;