istypes the space cleaner dirt clean

This commit is contained in:
paprka
2014-12-31 17:21:36 -08:00
parent d048dd87bd
commit 9de9f4b3f8
@@ -651,8 +651,9 @@ datum/reagent/space_cleaner/reaction_turf(var/turf/T, var/volume)
for(var/mob/living/carbon/slime/M in T)
M.adjustToxLoss(rand(5,10))
var/turf/simulated/floor/F = T
if(volume >= 1)
F.dirt = 0
if(istype(T, /turf/simulated/floor))
if(volume >= 1)
F.dirt = 0
datum/reagent/space_cleaner/reaction_mob(var/mob/M, var/method=TOUCH, var/volume)
if(iscarbon(M))