[MIRROR] Fix transit tube atmos (again) (#2736)
* Fix transit tube atmos (again) (#30597) * Fix transit tube atmos * transit tube Initialize() * Fix transit tube atmos (again)
This commit is contained in:
committed by
Poojawa
parent
1c06a2b277
commit
abe52f40a6
@@ -147,8 +147,11 @@
|
||||
sleep(OPEN_DURATION + 2)
|
||||
pod_moving = 0
|
||||
if(!QDELETED(pod))
|
||||
var/datum/gas_mixture/floor_mixture = loc.return_air()
|
||||
floor_mixture.archive()
|
||||
pod.air_contents.archive()
|
||||
pod.air_contents.share(loc.return_air(), 1) //mix the pod's gas mixture with the tile it's on
|
||||
pod.air_contents.share(floor_mixture, 1) //mix the pod's gas mixture with the tile it's on
|
||||
air_update_turf()
|
||||
|
||||
/obj/structure/transit_tube/station/init_tube_dirs()
|
||||
switch(dir)
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
var/datum/gas_mixture/air_contents = new()
|
||||
|
||||
|
||||
/obj/structure/transit_tube_pod/New(loc)
|
||||
..()
|
||||
air_contents.assert_gases("o2", "n2")
|
||||
/obj/structure/transit_tube_pod/Initialize()
|
||||
. = ..()
|
||||
air_contents.add_gases("o2", "n2")
|
||||
air_contents.gases["o2"][MOLES] = MOLES_O2STANDARD
|
||||
air_contents.gases["n2"][MOLES] = MOLES_N2STANDARD
|
||||
air_contents.temperature = T20C
|
||||
|
||||
Reference in New Issue
Block a user