From 336c6524c8d2f5f6e97d4ba58bae4ab909cef578 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 22 Apr 2021 06:09:39 +0200 Subject: [PATCH] [MIRROR] Fixes painted directional window opacity bug (#5082) * Prevents jank directional window opacity bugs (#58577) * Fixes painted directional window opacity bug Co-authored-by: ArcaneDefence <51932756+ArcaneDefence@users.noreply.github.com> --- code/game/objects/structures/window.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index 06e0fe4858b..e5c29884eb3 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -299,7 +299,7 @@ /obj/structure/window/proc/on_painted(is_dark_color) SIGNAL_HANDLER - if (is_dark_color) + if (is_dark_color && fulltile) //Opaque directional windows restrict vision even in directions they are not placed in, please don't do this set_opacity(255) else set_opacity(initial(opacity))