More sensible oxyloss scaling

This commit is contained in:
mwerezak
2014-05-27 14:07:27 -04:00
committed by ZomgPonies
parent ca176b63f5
commit 3a2da98639
+1 -2
View File
@@ -536,8 +536,7 @@
var/ratio = inhale_pp/safe_pressure_min
// Don't fuck them up too fast (space only does HUMAN_MAX_OXYLOSS after all!)
// What's going on here? ratio will always be < 1, and HUMAN_MAX_OXYLOSS = 1...
adjustOxyLoss(min(5*(1/ratio), HUMAN_MAX_OXYLOSS))
adjustOxyLoss(min(5*(1 - ratio), HUMAN_MAX_OXYLOSS))
failed_last_breath = 1
inhaled_gas_used = inhaling*ratio/6