Fixes advanced trauma kits claiming to disinfect but not doing so

This commit is contained in:
mwerezak
2014-07-08 18:49:51 -04:00
parent dcfbeb0924
commit 910ce676b0
2 changed files with 15 additions and 2 deletions

View File

@@ -694,6 +694,15 @@ Note that amputating the affected organ does in fact remove the infection from t
W.bandaged = 1
return rval
/datum/organ/external/proc/disinfect()
var/rval = 0
for(var/datum/wound/W in wounds)
if(W.internal) continue
rval |= !W.disinfected
W.disinfected = 1
W.germ_level = 0
return rval
/datum/organ/external/proc/clamp()
var/rval = 0
src.status &= ~ORGAN_BLEEDING