Merge pull request #4329 from d3athrow/GasMathsStrip

Gas maths stripping
This commit is contained in:
d3athrow
2015-05-09 20:05:12 -05:00
106 changed files with 632 additions and 745 deletions

View File

@@ -201,7 +201,7 @@
// So, a pipe rated at 8,000 kPa in a 104kPa environment will explode at 8,104kPa.
var/datum/gas_mixture/environment = loc.return_air()
var/pressure_difference = pressure - environment.return_pressure()
var/pressure_difference = pressure - environment.pressure
// Burst check first.
if(pressure_difference > maximum_pressure && prob(1))