Skip to content

Commit

Permalink
[MIRROR] fixes changeturf light
Browse files Browse the repository at this point in the history
  • Loading branch information
CrimsonShrike authored and LordNest committed Feb 20, 2025
1 parent e3fe173 commit d69eb28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/turfs/turf_changing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
var/old_hotspot = hotspot
var/old_turf_fire = null
var/old_opacity = opacity
var/old_corners = corners
var/old_dynamic_lighting = TURF_IS_DYNAMICALLY_LIT_UNSAFE(src)
var/old_affecting_lights = affecting_lights
var/old_lighting_overlay = lighting_overlay
Expand Down Expand Up @@ -105,6 +106,7 @@
recalc_atom_opacity()
lighting_overlay = old_lighting_overlay
affecting_lights = old_affecting_lights
corners = old_corners
if (old_opacity != opacity || dynamic_lighting != old_dynamic_lighting || z_flags != old_zflags || force_lighting_update)
reconsider_lights()
updateVisibility(src)
Expand Down

0 comments on commit d69eb28

Please sign in to comment.