Fixed yet another derp with organs

This commit is contained in:
cib
2012-08-06 14:01:36 -07:00
parent 22c627901b
commit b4f1c4ed9f
+4 -2
View File
@@ -905,13 +905,15 @@
// recalculate number of wounds
number_wounds = 0
for(var/name in organs)
var/datum/organ/external/E = organs[name]
for(var/datum/wound/W in E.wounds)
number_wounds++
var/leg_tally = 2
for(var/name in organs)
var/datum/organ/external/E = organs[name]
E.process()
for(var/datum/wound/W in E.wounds)
number_wounds++
if(E.status & ORGAN_ROBOT && prob(E.brute_dam + E.burn_dam))
if(E.name == "l_hand" || E.name == "l_arm")
if(hand && equipped())