From 7f89f602b2fd0f7086e30e4ebd1986ff74e920c7 Mon Sep 17 00:00:00 2001 From: Loganbacca Date: Mon, 20 Jan 2014 16:16:02 +1300 Subject: [PATCH] Fixed rad collector toxin drain bug Removed bad code modifying variables directly and replaced it with a proc that correctly modifies the gas volume. --- code/modules/power/singularity/collector.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/power/singularity/collector.dm b/code/modules/power/singularity/collector.dm index 885947f90d..2ff0125b7e 100644 --- a/code/modules/power/singularity/collector.dm +++ b/code/modules/power/singularity/collector.dm @@ -32,7 +32,7 @@ var/global/list/rad_collectors = list() P.air_contents.toxins = 0 eject() else - P.air_contents.toxins -= 0.001*drainratio + P.air_contents.adjust(tx = -0.001*drainratio) return