Skip to content

Commit

Permalink
Merge pull request Baystation12#35081 from CrimsonShrike/FixChangeTur…
Browse files Browse the repository at this point in the history
…fAgain

fixes changeturf light
  • Loading branch information
SierraKomodo authored Jan 26, 2025
2 parents d168fd5 + 86b8f41 commit bc6101c
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 bc6101c

Please sign in to comment.