Stop adjusting cooldown directly

This commit is contained in:
Aronai Sieyes
2020-04-30 15:43:58 -04:00
parent a280d35970
commit f5cbd8c35e
3 changed files with 24 additions and 33 deletions
+2 -2
View File
@@ -745,12 +745,12 @@
/mob/proc/facedir(var/ndir)
if(!canface() || (client && (client.moving || (world.time < move_delay))))
if(!canface() || (client && (client.moving || !checkMoveCooldown())))
return 0
set_dir(ndir)
if(buckled && buckled.buckle_movable)
buckled.set_dir(ndir)
move_delay += movement_delay()
setMoveCooldown(movement_delay())
return 1