Area tweaks (#20391)

Reworked area changes and power define channels

No player visible changes (hopefully)
This commit is contained in:
Fluffy
2025-02-16 18:53:46 +00:00
committed by GitHub
parent 186f94ff58
commit f3dab68568
49 changed files with 184 additions and 123 deletions
+1 -1
View File
@@ -145,7 +145,7 @@
recalc_atom_opacity() // Make sure to do this before reconsider_lights(), incase we're on instant updates.
reconsider_lights()
/turf/change_area(area/old_area, area/new_area)
/turf/proc/transfer_area_lighting(area/old_area, area/new_area)
if (new_area.dynamic_lighting != old_area.dynamic_lighting)
if (new_area.dynamic_lighting)
lighting_build_overlay()