From 250e344b268020050a78a0e61b11f6764796203c Mon Sep 17 00:00:00 2001 From: Aranclanos Date: Thu, 25 Jul 2013 05:00:42 -0300 Subject: [PATCH] Removed the location change and dropped() call from the throw_item() proc. These thingies are already handled by u_equip(), who is called. This will fix some runtimes if an item is deleted on their dropped() --- code/modules/mob/living/carbon/carbon.dm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 0cca5b54265..ededd417cba 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -370,11 +370,6 @@ if(src.client) src.client.screen -= item - item.loc = src.loc - - if(istype(item, /obj/item)) - item:dropped(src) // let it know it's been dropped - //actually throw it! if(item) item.layer = initial(item.layer)