Fixed bug

This commit is contained in:
2026-02-01 15:42:33 +01:00
parent d03d06b5a7
commit a8b395b1d3
4 changed files with 973 additions and 966 deletions

View File

@@ -171,7 +171,7 @@ namespace Marro.PacManUdon
SetDirection(direction * -1);
Debug.Log($"{gameObject} turned around to direction {GetDirection()}");
turnAroundSoon = false;
return GridMoverTools.PositionToGrid(nextPosition);
return nextPosition;
}
if (kinematic)