re-enabled DS2NEARESTTICK

This commit is contained in:
spookerton
2022-10-26 23:08:46 +01:00
parent 1d09186a77
commit c036156b5c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ default behaviour is:
now_pushing = 0
return
var/move_time = movement_delay(loc, t) * SQRT_TWO
//move_time = DS2NEARESTTICK(move_time)
move_time = DS2NEARESTTICK(move_time)
if(AM.Move(T2, t, move_time))
Move(T, t, move_time)
+1 -1
View File
@@ -285,7 +285,7 @@
direct = turn(direct, pick(90, -90))
n = get_step(my_mob, direct)
//total_delay = DS2NEARESTTICK(total_delay) //Rounded to the next tick in equivalent ds
total_delay = DS2NEARESTTICK(total_delay) //Rounded to the next tick in equivalent ds
my_mob.setMoveCooldown(total_delay)
if(istype(my_mob.pulledby, /obj/structure/bed/chair/wheelchair))