mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-16 09:32:47 +01:00
Band-aids three runtimes (#4591)
* Runtime in dna_modifier.dm,330: Cannot read null.occupant * Runtime in Chemistry-Reagents.dm,47: Cannot execute null.remove reagent(). * Runtime in blood.dm,182: Division by zero * Compiled with the right map this time
This commit is contained in:
@@ -141,7 +141,7 @@ var/const/CE_STABLE_THRESHOLD = 0.5
|
||||
|
||||
//Bleeding out
|
||||
var/blood_max = 0
|
||||
var/blood_loss_divisor = 30 //lower factor = more blood loss
|
||||
var/blood_loss_divisor = 30.01 //lower factor = more blood loss
|
||||
|
||||
// Some species bleed out differently
|
||||
blood_loss_divisor /= species.bloodloss_rate
|
||||
|
||||
Reference in New Issue
Block a user