[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>
This commit is contained in:
SkyratBot
2021-04-22 05:09:39 +01:00
committed by GitHub
co-authored by ArcaneDefence
parent 40ebaf7e46
commit 336c6524c8
+1 -1
View File
@@ -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))