mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 00:58:26 +01:00
Fixes window opacity when repainting bug (#61268)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
co-authored by
Mothblocks
parent
1f47bb15ae
commit
85b555ac7e
@@ -305,9 +305,8 @@
|
||||
air_update_turf(TRUE, FALSE)
|
||||
add_fingerprint(user)
|
||||
|
||||
/obj/structure/window/proc/on_painted(is_dark_color)
|
||||
/obj/structure/window/proc/on_painted(obj/structure/window/source, is_dark_color)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user