mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 07:22:42 +00:00
/turf/simulated/water/update_icon() clears underlays before adding the new one
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
..() // To get the edges.
|
||||
icon_state = water_state
|
||||
var/image/floorbed_sprite = image(icon = 'icons/turf/outdoors.dmi', icon_state = under_state)
|
||||
underlays.Cut() // To clear the old underlay, so the list doesn't expand infinitely
|
||||
underlays.Add(floorbed_sprite)
|
||||
update_icon_edge()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user