Fixed phantom donut bug

Fixes issues #1431 and #1183
Also fixes similar bug with SE injector and any item that gets deleted while in hand
This commit is contained in:
unknown
2012-07-05 18:28:38 +03:00
parent 507dc7cc84
commit cde6aa0e35
+6
View File
@@ -1,3 +1,9 @@
/obj/item/Del()
if (src.loc && istype(src.loc, /mob/living/carbon/human))
//world << "\blue **Beep! Deleted [src] from [src.loc]**"
var/mob/living/carbon/human/H = src.loc
H.u_equip(src)
..()
/obj/item/weapon/bedsheet/ex_act(severity)
if (severity <= 2)