Fix for cryo stopping bleeding.

Forgot that internal bleeding doesn't use drip()
This commit is contained in:
cib
2012-11-23 16:04:16 +01:00
parent 912a85b1a1
commit 300219813d
2 changed files with 1 additions and 5 deletions

View File

@@ -185,7 +185,7 @@
if(W.damage == 0 && W.created + 10 * 10 * 60 <= world.time) if(W.damage == 0 && W.created + 10 * 10 * 60 <= world.time)
wounds -= W wounds -= W
// let the GC handle the deletion of the wound // let the GC handle the deletion of the wound
if(W.internal && !W.is_treated()) if(W.internal && !W.is_treated() && owner.bodytemperature >= 170)
// internal wounds get worse over time // internal wounds get worse over time
W.open_wound(0.1 * wound_update_accuracy) W.open_wound(0.1 * wound_update_accuracy)
owner.vessel.remove_reagent("blood",0.07 * W.damage * wound_update_accuracy) owner.vessel.remove_reagent("blood",0.07 * W.damage * wound_update_accuracy)

View File

@@ -86,10 +86,6 @@
/mob/living/carbon/human/proc/drip(var/amt as num) /mob/living/carbon/human/proc/drip(var/amt as num)
if(!amt) if(!amt)
return return
if(bodytemperature < 170)
// if the body is cooled enough, the metabolism is basically stopped,
// which will prevent from bleeding out
return
var/amm = 0.1 * amt var/amm = 0.1 * amt
var/turf/T = get_turf(src) var/turf/T = get_turf(src)