Small tweaks to smooth lattice code. (When you spend 4 hours working with lattice with a red dot in the middle, it becomes almost intuitive that the dot should be there.)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1335 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-04-02 06:10:40 +00:00
parent bb5ef2687b
commit 3af0095ff3
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -518,7 +518,7 @@
desc = "A lightweight support lattice."
name = "lattice"
icon = 'structures.dmi'
icon_state = "lattice"
icon_state = "latticefull"
density = 0
anchored = 1.0
layer = 2.3 //under pipes
@@ -526,12 +526,12 @@
/obj/lattice/New()
..()
if(!(istype(get_step(src, dir), /turf/space)))
if(!(istype(src.loc, /turf/space)))
del(src)
for(var/obj/lattice/LAT in src.loc)
if(LAT != src)
del(LAT)
icon_state = "lattice"
icon_state = "latticeblank"
updateOverlays()
for (var/dir in cardinal)
var/obj/lattice/L
Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB