diff --git a/code/game/turfs/closed/minerals.dm b/code/game/turfs/closed/minerals.dm index b16e8b45bdf..4421661118a 100644 --- a/code/game/turfs/closed/minerals.dm +++ b/code/game/turfs/closed/minerals.dm @@ -204,6 +204,17 @@ scan_state_overlay.pixel_y = 224 scan_overlay.add_overlay(scan_state_overlay) +/turf/closed/mineral/set_smoothed_icon_state(new_junction) + var/old_junction = smoothing_junction + . = ..() + if(new_junction != ALL_SMOOTHING_JUNCTIONS || (!isnull(old_junction) && old_junction != new_junction)) + update_appearance(UPDATE_OVERLAYS) + +/turf/closed/mineral/update_overlays() + . = ..() + if(smoothing_junction != ALL_SMOOTHING_JUNCTIONS) + . += fast_emissive_blocker(src) + /turf/closed/mineral/get_smooth_underlay_icon(mutable_appearance/underlay_appearance, turf/asking_turf, adjacency_dir) if(turf_type) underlay_appearance.icon = initial(turf_type.icon)