mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-29 08:09:34 +01:00
Fix rollerbed movement with buckled mobs
This commit is contained in:
@@ -158,9 +158,11 @@
|
||||
L.forceMove(loc, direct, movetime)
|
||||
L.last_move = last_move
|
||||
L.inertia_dir = last_move
|
||||
|
||||
|
||||
if(!buckle_dir)
|
||||
L.set_dir(dir)
|
||||
else
|
||||
L.set_dir(buckle_dir)
|
||||
|
||||
/atom/movable/proc/can_buckle_check(mob/living/M, forced = FALSE)
|
||||
if(!buckled_mobs)
|
||||
|
||||
@@ -81,7 +81,7 @@ default behaviour is:
|
||||
return 0
|
||||
|
||||
/mob/living/Bump(atom/movable/AM)
|
||||
if(now_pushing || !loc)
|
||||
if(now_pushing || !loc || buckled == AM)
|
||||
return
|
||||
now_pushing = 1
|
||||
if (istype(AM, /mob/living))
|
||||
|
||||
Reference in New Issue
Block a user