From 5f315ab418cdca8c357e2a1d514dbafd479bcbd2 Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Tue, 14 Jan 2020 18:04:19 -0700 Subject: [PATCH] ok --- code/modules/atmospherics/gasmixtures/gas_mixture.dm | 3 +++ code/modules/lighting/lighting_object.dm | 1 + 2 files changed, 4 insertions(+) diff --git a/code/modules/atmospherics/gasmixtures/gas_mixture.dm b/code/modules/atmospherics/gasmixtures/gas_mixture.dm index e8fa825043..5b54e58917 100644 --- a/code/modules/atmospherics/gasmixtures/gas_mixture.dm +++ b/code/modules/atmospherics/gasmixtures/gas_mixture.dm @@ -398,3 +398,6 @@ get_true_breath_pressure(pp) --> gas_pp = pp/breath_pp*total_moles() 10/20*5 = 2.5 10 = 2.5/5*20 */ + +/datum/gas_mixture/proc/test_garbage_collect() + GAS_GARBAGE_COLLECT(gases) diff --git a/code/modules/lighting/lighting_object.dm b/code/modules/lighting/lighting_object.dm index e967008afe..9ceb341f91 100644 --- a/code/modules/lighting/lighting_object.dm +++ b/code/modules/lighting/lighting_object.dm @@ -56,6 +56,7 @@ var/turf/oldturf = get_turf(myturf) var/turf/newturf = get_turf(loc) warning("A lighting object realised it's loc had changed in update() ([myturf]\[[myturf ? myturf.type : "null"]]([COORD(oldturf)]) -> [loc]\[[ loc ? loc.type : "null"]]([COORD(newturf)]))!") + qdel(src, TRUE) return