Fix lattice deconstruction to update space areas (#93971)

## About The Pull Request
When lattice and catwalks are deconstructed on `/area/space/nearstation`
the area should update to `/area/space` since it is now an empty space
tile.

## Why It's Good For The Game
Consistency. This is very noticeable when exporting maps and there are
chunks of nearstation area markers with empty space.

## Changelog
🆑
fix: Fix lattice deconstruction to update space areas
/🆑
This commit is contained in:
Tim
2025-11-17 22:59:10 -07:00
committed by GitHub
parent 74810370e0
commit 469c32c64d
+4
View File
@@ -48,6 +48,10 @@
for(var/thing_that_falls in turfloc)
turfloc.zFall(thing_that_falls)
var/area/turf_area = get_area(turfloc)
if(isspaceturf(turfloc) && istype(turf_area, /area/space/nearstation))
set_turf_to_area(turfloc, GLOB.areas_by_type[/area/space])
/obj/structure/lattice/proc/deconstruction_hints(mob/user)
return span_notice("The rods look like they could be <b>cut</b>. There's space for more <i>rods</i> or a <i>tile</i>.")