From b426599a4d28f3e0411ac5fefffe3addae1709e8 Mon Sep 17 00:00:00 2001 From: Tastyfish Date: Fri, 17 Feb 2012 21:45:12 -0500 Subject: [PATCH] fixed give, sign being anchored --- code/game/objects/sign_decals.dm | 1 + code/modules/mob/living/carbon/give.dm | 12 ++++-------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/code/game/objects/sign_decals.dm b/code/game/objects/sign_decals.dm index dfb16cd5b7b..a67a6737717 100644 --- a/code/game/objects/sign_decals.dm +++ b/code/game/objects/sign_decals.dm @@ -1,6 +1,7 @@ /obj/effect/sign/barsign icon = 'barsigns.dmi' icon_state = "empty" + anchored = 1 New() ChangeSign(pick("pinkflamingo", "magmasea", "limbo", "rustyaxe", "armokbar", "brokendrum")) return diff --git a/code/modules/mob/living/carbon/give.dm b/code/modules/mob/living/carbon/give.dm index f1bdbd15ed8..312e23088ec 100644 --- a/code/modules/mob/living/carbon/give.dm +++ b/code/modules/mob/living/carbon/give.dm @@ -33,21 +33,19 @@ mob/living/carbon/verb/give() return if(src.r_hand != null) if(src.l_hand == null) - usr.drop_item(I) + usr.drop_item() src.l_hand = I else src << "Your hands are full." usr << "Their hands are full." return else - usr.drop_item(I) + usr.drop_item() src.r_hand = I - usr.client.screen -= I I.loc = src I.layer = 20 I.add_fingerprint(src) src.update_clothing() - usr.update_clothing() action_message(src,"[usr.name] handed \the [I.name] to [src.name].") if("No") action_message(src,"[usr.name] tried to hand [I.name] to [src.name] but [src.name] didn't want it.") @@ -64,21 +62,19 @@ mob/living/carbon/verb/give() return if(src.l_hand != null) if(src.r_hand == null) - usr.drop_item(I) + usr.drop_item() src.r_hand = I else src << "Your hands are full." usr << "Their hands are full." return else - usr.drop_item(I) + usr.drop_item() src.l_hand = I - usr.client.screen -= I I.loc = src I.layer = 20 I.add_fingerprint(src) src.update_clothing() - usr.update_clothing() action_message(src,"[usr.name] handed \the [I.name] to [src.name].") if("No") action_message(src,"[usr.name] tried to hand [I.name] to [src.name] but [src.name] didn't want it.")