ignore light recalc in shuttles and elevators (#17448)

* ignore light recalc in shuttles and elevators

* .

* Update turf_changing.dm

* Update turf_changing.dm

* Update turf_changing.dm

* bunch of isturf fixes

* fix it

* inline safe
This commit is contained in:
Kashargul
2025-03-30 22:21:29 +02:00
committed by GitHub
parent 5828c866d8
commit 2b80c0955c
13 changed files with 28 additions and 32 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
/obj/structure/lattice/Initialize(mapload)
. = ..()
if(!(istype(src.loc, /turf/space) || istype(src.loc, /turf/simulated/open) || istype(src.loc, /turf/simulated/mineral) || istype(src.loc, /turf/simulated/shuttle/plating/airless/carry)))
if(!(isopenturf(src.loc) || istype(src.loc, /turf/simulated/mineral) || istype(src.loc, /turf/simulated/shuttle/plating/airless/carry)))
return INITIALIZE_HINT_QDEL
for(var/obj/structure/lattice/LAT in src.loc)