Skip to content

Commit

Permalink
Update sauna.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Filatelele authored Sep 19, 2024
1 parent ed761c7 commit 5a13834
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions code/game/machinery/atmoalter/sauna.dm
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
var/turf/simulated/T = get_turf(src)
var/list/turfs = T?.zone?.contents
for(var/turf/turf in turfs)
turf.vis_contents.Remove(overlay)
turf.update_graphic()

QDEL_NULL(overlay)

Expand Down Expand Up @@ -363,8 +363,7 @@
var/turf/simulated/T = get_turf(src)
var/list/turfs = T?.zone?.contents
for(var/turf/simulated/floor/turf in turfs)
if(!LAZYISIN(turf.vis_contents, overlay))
turf.vis_contents.Add(overlay)
LAZYDISTINCTADD(turf.vis_contents, overlay)

if(!reagents.reagent_list.len)
continue
Expand Down

0 comments on commit 5a13834

Please sign in to comment.