mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 03:26:37 +01:00
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:
@@ -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