mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 20:52:41 +00:00
Fix for cryo stopping bleeding.
Forgot that internal bleeding doesn't use drip()
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user