Fixes touch hand qdel loop runtime (#24290)

* Fix touch hand loop runtime

* Fix #2
This commit is contained in:
Quardbreak
2017-02-21 09:05:48 +01:00
committed by AnturK
parent 285f3fd236
commit 83dbe874c5
+3 -3
View File
@@ -7,7 +7,7 @@
icon = 'icons/obj/weapons.dmi'
icon_state = "syndballoon"
item_state = null
flags = ABSTRACT | NODROP
flags = ABSTRACT | NODROP | DROPDEL
w_class = WEIGHT_CLASS_HUGE
force = 0
throwforce = 0
@@ -33,10 +33,10 @@
attached_spell.attached_hand = null
qdel(src)
/obj/item/weapon/melee/touch_attack/dropped()
/obj/item/weapon/melee/touch_attack/Destroy()
if(attached_spell)
attached_spell.attached_hand = null
qdel(src)
return ..()
/obj/item/weapon/melee/touch_attack/disintegrate
name = "\improper disintegrating touch"