mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
Merge pull request #4329 from d3athrow/GasMathsStrip
Gas maths stripping
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user