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
This commit is contained in:
uporotiy
2011-05-09 08:12:57 +00:00
parent ac4bb6e6e6
commit 6b3ff55761
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -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
+2
View File
@@ -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)