From d38c2bc6c08d0824dba9550a89c949cd930d02f7 Mon Sep 17 00:00:00 2001 From: Ghom <42542238+Ghommie@users.noreply.github.com> Date: Fri, 21 Feb 2020 02:20:38 +0100 Subject: [PATCH] Update twohanded.dm --- code/game/objects/items/twohanded.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/twohanded.dm b/code/game/objects/items/twohanded.dm index 72a5c5b1da..570d12af6d 100644 --- a/code/game/objects/items/twohanded.dm +++ b/code/game/objects/items/twohanded.dm @@ -1061,6 +1061,8 @@ target = A else target = A.loc + if(!isturf(target)) //read: Mob inventories. + return else target = user.loc if (locate(/obj/structure/table) in target.contents) @@ -1078,4 +1080,4 @@ /obj/item/twohanded/broom/proc/janicart_insert(mob/user, obj/structure/janitorialcart/J) //bless you whoever fixes this copypasta J.put_in_cart(src, user) J.mybroom=src - J.update_icon() \ No newline at end of file + J.update_icon()