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()