More sensible oxyloss scaling

This commit is contained in:
mwerezak
2014-05-27 02:41:12 -04:00
parent 694f0706bb
commit fbaa84c509
+1 -2
View File
@@ -494,8 +494,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