Merge pull request #128 from Neerti/8/4/2015_asteriod_floor_fix

Fixes being unable to build floors on asteroid turf.
This commit is contained in:
Neerti
2015-08-07 20:23:10 -04:00

View File

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