[NO GBP] Hotfix for CI flaky due to the spacemove fix (#88408)

## About The Pull Request

We don't check if the loop is actually queued as we attempt to remove,
fire and queue it, which makes our loop potentially run in parallel with
a higher priority loop, which (for some reason specifically on during
engiborg tests and specifically on wawa) was causing a flaky CI failure.

Closes #88400

## Changelog
🆑
/🆑
This commit is contained in:
SmArtKar
2024-12-08 15:48:55 +01:00
committed by GitHub
parent 3ae424ccdb
commit f317c5796b
@@ -38,6 +38,9 @@ MOVEMENT_SUBSYSTEM_DEF(newtonian_movement)
pour_bucket(bucket_info)
/datum/controller/subsystem/movement/newtonian_movement/proc/fire_moveloop(datum/move_loop/loop)
// Loop isn't even running right now
if(!(loop.status & MOVELOOP_STATUS_QUEUED) || isnull(loop.queued_time))
return
// Drop the loop, process it, and if its still valid - queue it again
dequeue_loop(loop)
loop.process()