mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
@@ -131,7 +131,7 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
var/turf/simulated/location = loc
|
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/datum/gas_mixture/environment = location.return_air()
|
||||||
var/partial_pressure = R_IDEAL_GAS_EQUATION*environment.temperature/environment.volume
|
var/partial_pressure = R_IDEAL_GAS_EQUATION*environment.temperature/environment.volume
|
||||||
|
|||||||
Reference in New Issue
Block a user