From 6b3ff557618a2c35a2f1c690068a9357990d33d9 Mon Sep 17 00:00:00 2001 From: uporotiy Date: Mon, 9 May 2011 08:12:57 +0000 Subject: [PATCH] Set biomass and glowshroom procs to background. Lessee if that helps. It should. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1557 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/biomass.dm | 7 +++++++ code/game/objects/glowshroom.dm | 2 ++ 2 files changed, 9 insertions(+) diff --git a/code/game/objects/biomass.dm b/code/game/objects/biomass.dm index e8a2a3e8d8f..c1c8654fca2 100644 --- a/code/game/objects/biomass.dm +++ b/code/game/objects/biomass.dm @@ -21,6 +21,8 @@ var/newicon = 1 //DEBUG /obj/rift/New() + set background = 1 + ..() for(var/turf/T in orange(1,src)) @@ -39,6 +41,8 @@ ..() /obj/biomass/New() + set background = 1 + ..() if(!IsValidBiomassLoc(loc,src)) del(src) @@ -59,6 +63,7 @@ Spread() /obj/biomass/proc/Spread(var/direction = dir) + set background = 1 var/possibleDirsInt = 0 for(var/newDirection in cardinal) @@ -99,6 +104,7 @@ // NewSpread() /obj/biomass/proc/NewSpread(maxDistance = 15) + set background = 1 for(var/turf/T in orange(1,src)) if(!IsValidBiomassLoc(T,src)) continue @@ -107,6 +113,7 @@ starting.maxDistance = maxDistance /proc/IsValidBiomassLoc(turf/location,obj/biomass/source = null) + set background = 1 for(var/obj/biomass/biomass in location) if(biomass != source) return 0 diff --git a/code/game/objects/glowshroom.dm b/code/game/objects/glowshroom.dm index cefa092c575..991dfa6f084 100644 --- a/code/game/objects/glowshroom.dm +++ b/code/game/objects/glowshroom.dm @@ -21,6 +21,7 @@ spreadChance = 0 /obj/glowshroom/New() + set background = 1 ..() dir = CalcDir() @@ -95,6 +96,7 @@ sleep(delay) /obj/glowshroom/proc/CalcDir(turf/location = loc) + set background = 1 var/direction = 16 for(var/wallDir in cardinal)