Merge pull request #8802 from Spookerton/spkrtn/fix/balance-to-the-force

re-enabled DS2NEARESTTICK
This commit is contained in:
Atermonera
2022-10-28 15:45:05 -08:00
committed by GitHub
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))