aboutsummaryrefslogtreecommitdiff
path: root/monad
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-03-01 21:52:49 +0100
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-03-01 21:52:49 +0100
commit5728ebc309b4753c939d751c7fd489b108e5dc09 (patch)
tree6bcbe6058a5cfa1e55941702d5fdb6c359d0f5f7 /monad
parentffff169f10b35efaf9f793f745bdfed473ca4d9a (diff)
fix: prevent entities from overlapping when arriving at the same cell
Update UpdateMoveSystem to maintain the moveMap as entities move within a tick. When an entity snaps to a grid cell: - Block the new cell in the moveMap immediately - Unblock the old cell Before snapping, check if the target cell was already claimed by another entity earlier in the same tick. If so, repath instead of overlapping.
Diffstat (limited to 'monad')
0 files changed, 0 insertions, 0 deletions