Fixes area overlays being additive when using blueprints or admin buildmode (#37118)

* area overlays blend mode fix for blueprints and buildmode

* it's not the blend mode you dummy, it's the plane!
This commit is contained in:
DeityLink
2024-09-22 02:19:07 +02:00
committed by GitHub
parent 8cc67f81b7
commit a750b13d9a
2 changed files with 2 additions and 0 deletions

View File

@@ -335,6 +335,7 @@ these cannot rename rooms that are in by default BUT can rename rooms that are c
//Create a visual effect over the edited area
edited_overlay = image('icons/turf/areas.dmi', currently_edited, "yellow")
edited_overlay.plane = ABOVE_LIGHTING_PLANE
editor.client.images.Add(edited_overlay)
to_chat(editor, "<span class='info'>In this mode, you can add or modify tiles to the [currently_edited] area. When you're done, bring up the blueprints or leave the area.</span>")

View File

@@ -184,6 +184,7 @@ var/global/list/obj/effect/bmode/buildholder/buildmodeholders = list()
/obj/effect/bmode/buildmode/New()
..()
area_overlay = image('icons/turf/areas.dmi', "yellow")
area_overlay.plane = ABOVE_LIGHTING_PLANE
/obj/effect/bmode/buildmode/Destroy()
copycat = null