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
@@ -19,7 +19,7 @@
if(((SSplanets && SSplanets.z_to_planet.len >= z && SSplanets.z_to_planet[z]) || SSlighting.get_pshandler_z(z)) && has_dynamic_lighting()) //Only for planet turfs or fakesuns that specify they want to use this system
if(is_outdoors())
var/turf/T = GetAbove(src)
if(T && !istype(T,/turf/simulated/open))
if(T && !isopenturf(T) && (SSplanets.z_to_planet.len >= T.z && SSplanets.z_to_planet[T.z]))
make_indoors()
if(!shandler_noinit)
shandler = new(src)