mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +01:00
[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:
co-authored by
ArcaneDefence
parent
40ebaf7e46
commit
336c6524c8
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user