Skip to content

Commit 466b4df

Browse files
authored
moveloop bug (#1039)
1 parent 0d349ea commit 466b4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/controllers/subsystem/movement/movement.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ SUBSYSTEM_DEF(movement)
6666
return // Still work to be done
6767
var/bucket_time = bucket_info[MOVEMENT_BUCKET_TIME]
6868
smash_bucket(1, bucket_time) // We assume we're the first bucket in the queue right now
69-
visual_delay = MC_AVERAGE_FAST(visual_delay, max((world.time - canonical_time) / wait, 1))
69+
visual_delay = MC_AVERAGE_FAST(visual_delay, max((world.time - canonical_time) / TICKS2DS(wait), 1))
7070

7171
/// Removes a bucket from our system. You only need to pass in the time, but if you pass in the index of the list you save us some work
7272
/datum/controller/subsystem/movement/proc/smash_bucket(index, bucket_time)

0 commit comments

Comments
 (0)