From cea151813e72e5ac6b01cc2a48659622bfce093d Mon Sep 17 00:00:00 2001 From: Ccomp5950 Date: Mon, 24 Feb 2014 00:44:00 -0600 Subject: [PATCH] Runtime fix: Dirt in SPAAAAACCEEEEEEE ndefined variable /turf/space/var/dirt proc name: reaction turf (/datum/reagent/space_cleaner/reaction_turf) source file: Chemistry-Reagents.dm,939 --- code/modules/reagents/Chemistry-Reagents.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/reagents/Chemistry-Reagents.dm b/code/modules/reagents/Chemistry-Reagents.dm index c9666d98f00..73c500403f8 100644 --- a/code/modules/reagents/Chemistry-Reagents.dm +++ b/code/modules/reagents/Chemistry-Reagents.dm @@ -935,8 +935,9 @@ datum for(var/mob/living/carbon/slime/M in T) M.adjustToxLoss(rand(5,10)) reaction_turf(var/turf/simulated/S, var/volume) - if(volume >= 1) - S.dirt = 0 + if(istype(S) + if(volume >= 1) + S.dirt = 0 reaction_mob(var/mob/M, var/method=TOUCH, var/volume) if(iscarbon(M))