[MIRROR] ignore light recalc in shuttles and elevators (#10559)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-30 13:59:32 -07:00
committed by GitHub
parent 531f562957
commit 5b42b1ffd8
13 changed files with 28 additions and 32 deletions

View File

@@ -258,9 +258,9 @@
var/mob/living/carbon/human/hume
/obj/item/cell/standin/Initialize(mapload, var/mob/living/carbon/human/H)
. = ..()
if(!istype(H))
return INITIALIZE_HINT_QDEL
. = ..()
hume = H
charge = H.nutrition
maxcharge = initial(H.nutrition)

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)