From 81b889264e12b23c0234c8ec6cfcb01f2d1735b2 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Fri, 13 Jan 2017 17:51:32 -0500 Subject: [PATCH] Some code cleanup (#22949) * kil meh * Datums can hold gases. e.g. pipelines --- code/modules/atmospherics/gasmixtures/gas_mixture.dm | 2 +- code/modules/atmospherics/machinery/other/meter.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/atmospherics/gasmixtures/gas_mixture.dm b/code/modules/atmospherics/gasmixtures/gas_mixture.dm index 1adcdb42f7b..3ca7b264d8f 100644 --- a/code/modules/atmospherics/gasmixtures/gas_mixture.dm +++ b/code/modules/atmospherics/gasmixtures/gas_mixture.dm @@ -38,7 +38,7 @@ var/list/gaslist_cache = null var/volume //liters var/last_share var/tmp/fuel_burnt - var/atom/holder + var/datum/holder /datum/gas_mixture/New(volume = CELL_VOLUME) ..() diff --git a/code/modules/atmospherics/machinery/other/meter.dm b/code/modules/atmospherics/machinery/other/meter.dm index 18fecd84249..826a519bc89 100644 --- a/code/modules/atmospherics/machinery/other/meter.dm +++ b/code/modules/atmospherics/machinery/other/meter.dm @@ -3,7 +3,7 @@ desc = "It measures something." icon = 'icons/obj/meter.dmi' icon_state = "meterX" - var/obj/machinery/atmospherics/pipe/target = null + var/atom/target = null anchored = 1 power_channel = ENVIRON var/frequency = 0