From 3c892e0f46477cc8ba6b2a944fc5583bc009eaf7 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Mon, 22 May 2017 22:47:04 -0500 Subject: [PATCH] Fixes space movement exploit --- code/modules/mob/mob_movement.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/mob_movement.dm b/code/modules/mob/mob_movement.dm index 38bbe95a1a..e85dca9cad 100644 --- a/code/modules/mob/mob_movement.dm +++ b/code/modules/mob/mob_movement.dm @@ -295,8 +295,12 @@ return A else var/atom/movable/AM = A - if(AM == buckled) //Kind of unnecessary but let's just be sure + if(AM == buckled) continue + if(ismob(AM)) + var/mob/M = AM + if(M.buckled) + continue if(!AM.CanPass(src) || AM.density) if(AM.anchored) return AM