Fixed mobs getting rotated by shuttles even if they are not moved (#33026)

This commit is contained in:
Cruix
2017-11-24 04:47:11 -06:00
committed by Emmett Gaines
parent f912b6eae0
commit e928e6cf34

View File

@@ -272,6 +272,8 @@ All ShuttleMove procs go here
. = ..()
/mob/afterShuttleMove(list/movement_force, shuttle_dir, shuttle_preferred_direction, move_dir, rotation)
if(!move_on_shuttle)
return
. = ..()
if(client && movement_force)
var/shake_force = max(movement_force["THROW"], movement_force["KNOCKDOWN"])