Fixed rad collector toxin drain bug

Removed bad code modifying variables directly and replaced it with a proc that correctly modifies the gas volume.
This commit is contained in:
Loganbacca
2014-01-20 00:20:44 -05:00
committed by ZomgPonies
parent ad46e68054
commit f3354cf5de
+1 -1
View File
@@ -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