From ca72a040233cf21fd4d5c414475f8d1856b87ed4 Mon Sep 17 00:00:00 2001 From: Fox McCloud Date: Sun, 1 Sep 2019 21:22:37 -0400 Subject: [PATCH] Fixes Who Knows How Many Runtimes --- code/game/objects/structures/tables_racks.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/structures/tables_racks.dm b/code/game/objects/structures/tables_racks.dm index 93b2e30b6d9..d4296e1df2f 100644 --- a/code/game/objects/structures/tables_racks.dm +++ b/code/game/objects/structures/tables_racks.dm @@ -91,9 +91,9 @@ if(climber) climber.Weaken(2) climber.visible_message("[climber.name] has been knocked off the table", "You've been knocked off the table", "You see [climber.name] get knocked off the table") - else if(user.pulling.pass_flags & PASSTABLE) + else if(Adjacent(user) && user.pulling && user.pulling.pass_flags & PASSTABLE) user.Move_Pulled(src) - if (user.pulling.loc == loc) + if(user.pulling.loc == loc) user.visible_message("[user] places [user.pulling] onto [src].", "You place [user.pulling] onto [src].") user.stop_pulling()