mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
[MIRROR] Fixes window opacity when repainting bug (#8083)
* Fixes window opacity when repainting bug (#61268) Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> * Fixes window opacity when repainting bug Co-authored-by: ArcaneDefence <51932756+ArcaneDefence@users.noreply.github.com> Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
This commit is contained in:
@@ -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