unit: fixed movement delya being too long
authorLukas Krickl <lukas@krickl.dev>
Sun, 13 Jul 2025 05:32:37 +0000 (07:32 +0200)
committerLukas Krickl <lukas@krickl.dev>
Sun, 13 Jul 2025 05:32:37 +0000 (07:32 +0200)
commit64b4decf4d1f075fc2cd122bf5169049348e67d4
treef429c82b5d510bff4cca28864f01d2500f5d16ee
parent8c31bf6a8778b7120057dd33a92b683acb2df535
unit: fixed movement delya being too long

This was caused by the delay timer only being set *after* collision
check.
This caused the delay to be the last unit's delay which may be slower or
faster than expected.
BUGS.md
src/unit.s