Fixes for the asteroid turf post-changes.

This commit is contained in:
Zuhayr
2015-12-21 04:59:32 +10:30
parent a3a35c922b
commit 6faeea5462
4 changed files with 46 additions and 12 deletions
+4 -3
View File
@@ -10,10 +10,11 @@
/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/mineral/floor)))
///// Z-Level Stuff
if(!(istype(src.loc, /turf/space) || istype(src.loc, /turf/simulated/open) || istype(src.loc, /turf/simulated/mineral)))
qdel(src)
return
for(var/obj/structure/lattice/LAT in src.loc)
if(LAT != src)
qdel(LAT)