Skip to content

Commit

Permalink
Uplifts window damage overlays (#36445)
Browse files Browse the repository at this point in the history
* (actually) Fixes window damage overlays

* sqdqsd
  • Loading branch information
DeityLink committed May 6, 2024
1 parent 2a0a73c commit 17bf3cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/game/objects/structures/window.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 17bf3cc

Please sign in to comment.