Uplifts window damage overlays (#36445)

* (actually) Fixes window damage overlays

* sqdqsd
This commit is contained in:
DeityLink
2024-05-06 14:36:37 +02:00
committed by GitHub
parent 2a0a73c1d1
commit 17bf3cc128

View File

@@ -144,9 +144,11 @@ var/list/one_way_windows
if(sound)
playsound(loc, 'sound/effects/Glasshit.ogg', 100, 1)
if(!damage_overlay)
damage_overlay = new(src)
damage_overlay = mutable_appearance(src)
damage_overlay.icon = icon('icons/obj/structures/window.dmi')
damage_overlay.dir = src.dir
damage_overlay.layer = OBJ_LAYER
damage_overlay.blend_mode = BLEND_ADD
overlays -= damage_overlay