mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
More sensible oxyloss scaling
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user