mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
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:
+3
-3
@@ -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 |
Reference in New Issue
Block a user