One last ashwalker fix

This commit is contained in:
Putnam3145
2021-10-04 20:56:08 -07:00
parent a2e066a9f6
commit 51f85c58a4
4 changed files with 20 additions and 1 deletions
@@ -14,6 +14,12 @@
var/high_alert_category = "too_much_oxy"
var/high_alert_datum = /atom/movable/screen/alert/too_much_oxy
/datum/breathing_class/proc/get_effective_pp(datum/gas_mixture/breath)
var/mol = 0
for(var/gas in gases)
mol += breath.get_moles(gas) * gases[gas]
return (mol/breath.total_moles()) * breath.return_pressure()
/datum/breathing_class/oxygen
gases = list(
GAS_O2 = 1,