Air alarm runtimes.

fixed #2717
This commit is contained in:
Spamcat
2013-05-08 15:12:25 +04:00
parent 48caebb9fb
commit 0decd3b078

View File

@@ -131,7 +131,7 @@
return
var/turf/simulated/location = loc
ASSERT(istype(location))
if(!istype(location)) return//returns if loc is not simulated
var/datum/gas_mixture/environment = location.return_air()
var/partial_pressure = R_IDEAL_GAS_EQUATION*environment.temperature/environment.volume