[MIRROR] [READY]Canisters no more give runtime error on shuttle loading (#737)

* Fix portable_atmospherics runtiming on mapload (#53575)

* [READY]Canisters no more give runtime error on shuttle loading

Co-authored-by: Dennok <Deneles@yandex.ru>
This commit is contained in:
SkyratBot
2020-09-11 23:02:57 +02:00
committed by GitHub
co-authored by Dennok
parent 8bef375eca
commit 32e70febc2
@@ -14,15 +14,12 @@
var/maximum_pressure = 90 * ONE_ATMOSPHERE
/obj/machinery/portable_atmospherics/New()
..()
SSair.atmos_machinery += src
/obj/machinery/portable_atmospherics/Initialize()
. = ..()
air_contents = new
air_contents.volume = volume
air_contents.temperature = T20C
SSair.atmos_machinery += src
/obj/machinery/portable_atmospherics/Destroy()
SSair.atmos_machinery -= src