mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
[MIRROR] ignore light recalc in shuttles and elevators (#10559)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
531f562957
commit
5b42b1ffd8
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user