Rewriting the mining turfs to reduce worldstart lag.

This commit is contained in:
Zuhayr
2015-12-11 09:48:22 +10:30
parent f2cc74d588
commit 8ebb7c5b5f
9 changed files with 150 additions and 162 deletions

View File

@@ -11,7 +11,7 @@
/obj/structure/lattice/New() //turf/simulated/floor/asteroid
..()
///// Z-Level Stuff
if(!(istype(src.loc, /turf/space) || istype(src.loc, /turf/simulated/open) || istype(src.loc, /turf/simulated/floor/asteroid)))
if(!(istype(src.loc, /turf/space) || istype(src.loc, /turf/simulated/open) || istype(src.loc, /turf/simulated/mineral/floor)))
///// Z-Level Stuff
qdel(src)
for(var/obj/structure/lattice/LAT in src.loc)