Fixes a runtime in livers.
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
/obj/item/organ/liver/applyOrganDamage(d, maximum = maxHealth)
|
/obj/item/organ/liver/applyOrganDamage(d, maximum = maxHealth)
|
||||||
. = ..()
|
. = ..()
|
||||||
if(!.)
|
if(!. || QDELETED(owner))
|
||||||
return
|
return
|
||||||
if(damage >= high_threshold)
|
if(damage >= high_threshold)
|
||||||
var/move_calc = 1+((round(damage) - high_threshold)/(high_threshold/3))
|
var/move_calc = 1+((round(damage) - high_threshold)/(high_threshold/3))
|
||||||
|
|||||||
Reference in New Issue
Block a user