From 03b921a121c96fd91251f7f62b61435d714f1029 Mon Sep 17 00:00:00 2001 From: bunny232 Date: Mon, 14 Jun 2021 06:12:04 -0400 Subject: [PATCH] Update tank.dm --- .../atmospherics/machinery/components/unary_devices/tank.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/tank.dm b/code/modules/atmospherics/machinery/components/unary_devices/tank.dm index e96ccdb25b..d6c18b1beb 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/tank.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/tank.dm @@ -21,7 +21,7 @@ air_contents.set_volume(volume) air_contents.set_temperature(T20C) if(gas_type) - air_contents.set_moles(AIR_CONTENTS) + air_contents.set_moles(gas_type, AIR_CONTENTS) name = "[name] ([GLOB.meta_gas_names[gas_type]])" setPipingLayer(piping_layer) @@ -32,8 +32,8 @@ /obj/machinery/atmospherics/components/unary/tank/air/New() ..() var/datum/gas_mixture/air_contents = airs[1] - air_contents.set_moles(/datum/gas/oxygen, AIR_CONTENTS * 0.2) - air_contents.set_moles(/datum/gas/nitrogen, AIR_CONTENTS * 0.8) + air_contents.set_moles(/datum/gas/oxygen, AIR_CONTENTS * 0.21) + air_contents.set_moles(/datum/gas/nitrogen, AIR_CONTENTS * 0.79) /obj/machinery/atmospherics/components/unary/tank/carbon_dioxide gas_type = /datum/gas/carbon_dioxide