Lets Vaurca breathe again (#7263)

This commit is contained in:
MarinaGryphon
2019-10-25 17:06:49 +03:00
committed by Erki
parent b55e31902c
commit 4bca7f2147
2 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -393,7 +393,7 @@
return
//exposure to extreme pressures can rupture lungs
if(breath && (breath.total_moles < BREATH_MOLES / 5 || breath.total_moles > BREATH_MOLES * 5))
if(breath && (breath.total_moles/(species?.breath_vol_mul || 1) < BREATH_MOLES / 5 || breath.total_moles/(species?.breath_vol_mul || 1) > BREATH_MOLES * 5))
if(!is_lung_ruptured() && prob(5))
rupture_lung()