Update mob_movement.dm

This commit is contained in:
Metis
2024-10-16 17:38:17 -04:00
parent 149d93f83f
commit 76a4e29281
+3
View File
@@ -71,6 +71,9 @@
if(!mob.Process_Spacemove(direction))
return FALSE
//GS13 EDIT
if(HAS_TRAIT(mob, TRAIT_NO_MOVE))
return FALSE
//We are now going to move
var/add_delay = mob.movement_delay()
mob.set_glide_size(DELAY_TO_GLIDE_SIZE(add_delay * ( (NSCOMPONENT(direction) && EWCOMPONENT(direction)) ? 2 : 1 ) ), FALSE) // set it now in case of pulled objects