Fixed something with artifacts.

I have no idea what but it was broken and now is fixed.
Possibly runtime, most likely just artifact's effect is not working on any organ.
This commit is contained in:
Chinsky
2012-11-15 18:04:54 +04:00
parent 7a516a4cf8
commit 0fe526aa91

View File

@@ -60,10 +60,8 @@
user << "\blue You feel a soothing energy invigorate you."
var/mob/living/carbon/human/H = user
for(var/A in H.organs)
var/datum/organ/external/affecting = null
if(!H.organs[A]) continue
affecting = H.organs[A]
for(var/datum/organ/external/affecting in H.organs)
if(!affecting) continue
if(!istype(affecting, /datum/organ/external)) continue
affecting.heal_damage(25, 25) //fixes getting hit after ingestion, killing you when game updates organ health
//user:heal_organ_damage(25, 25)