diff --git a/code/game/objects/structures/lattice.dm b/code/game/objects/structures/lattice.dm index 6425ed5da9b..3fd2163a5f5 100644 --- a/code/game/objects/structures/lattice.dm +++ b/code/game/objects/structures/lattice.dm @@ -119,4 +119,19 @@ if(istype(C, /obj/item/stack/cable_coil)) var/turf/T = get_turf(src) T.attackby(C, user) //catwalks 'enable' coil laying on space tiles, not the catwalks themselves - return \ No newline at end of file + return + +/obj/structure/lattice/catwalk/updateOverlays() + overlays.Cut() + + var/dir_sum = 0 + + for (var/direction in cardinal) + if(locate(/obj/structure/lattice/catwalk, get_step(src, direction))) + dir_sum += direction + else + if(!(istype(get_step(src, direction), /turf/space))) + dir_sum += direction + + icon_state = "[name][dir_sum]" + return \ No newline at end of file diff --git a/icons/obj/smoothlattice.dmi b/icons/obj/smoothlattice.dmi index feeade625ce..4e67b50f5fb 100644 Binary files a/icons/obj/smoothlattice.dmi and b/icons/obj/smoothlattice.dmi differ