Skip to content

Commit

Permalink
Fix baselighting not respecting changeturfs (tgstation#61730)
Browse files Browse the repository at this point in the history
  • Loading branch information
TiviPlus committed Sep 28, 2021
1 parent 1846c2d commit 81989f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/game/turfs/change_turf.dm
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ GLOBAL_LIST_INIT(blacklisted_automated_baseturfs, typecacheof(list(
for(var/turf/open/space/space_tile in RANGE_TURFS(1, src))
space_tile.update_starlight()

var/area/thisarea = get_area(W)
if(thisarea.lighting_effect)
W.add_overlay(thisarea.lighting_effect)

QUEUE_SMOOTH_NEIGHBORS(src)
QUEUE_SMOOTH(src)

Expand Down

0 comments on commit 81989f0

Please sign in to comment.