Fix for internal organ surgery

Fixes internal organ surgery, and some other places where the same
problem would have cropped up
This commit is contained in:
VampyrBytes
2014-07-16 20:17:50 +01:00
parent 3962895c56
commit 34712ecc37
4 changed files with 15 additions and 15 deletions
@@ -503,7 +503,7 @@
O.wounds = list()
O.wound_update_accuracy = 1
for(var/organ_name in H.internal_organs)
var/datum/organ/internal/IO = H.internal_organs[organ_name]
var/datum/organ/internal/IO = H.internal_organs_by_name[organ_name]
IO.damage = 0
IO.trace_chemicals = list()
H.updatehealth()