Fixes being unable to build floors on asteroid turf.

This commit is contained in:
Neerti
2015-08-04 21:49:22 -04:00
parent 8784a6aa9b
commit 72a3a878c0
+1 -1
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)