From 157a7292d47ced10e94e6f6c11525256ed01e480 Mon Sep 17 00:00:00 2001 From: VentelR <87367109+VentelR@users.noreply.github.com> Date: Fri, 5 Jul 2024 03:17:12 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=A7=D0=B5=D1=80=D0=B5=D0=B7=20=D0=BF?= =?UTF-8?q?=D0=BB=D0=B0=D0=B7=D0=BC=D0=B5=D0=BD=D0=BD=D1=8B=D0=B5=20=D0=BE?= =?UTF-8?q?=D0=BA=D0=BD=D0=B0=20=D0=B1=D0=BE=D0=BB=D1=8C=D1=88=D0=B5=20?= =?UTF-8?q?=D0=BD=D0=B5=D0=BB=D1=8C=D0=B7=D1=8F=20=D1=85=D0=BE=D0=B4=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20(#328)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About The Pull Request Пофиксил возможность ходить через плазменные окна closes #265 ## Why It's Good For The Game Больше нельзя попасть в ловушку плазмажокера ## Changelog :cl: fix: фикс плазма и затемненных окон. /:cl: --- .../windows/code/directional_windows.dm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/modular_bandastation/aesthetics/windows/code/directional_windows.dm b/modular_bandastation/aesthetics/windows/code/directional_windows.dm index 80904fe6c77c0..76fb24d090b04 100644 --- a/modular_bandastation/aesthetics/windows/code/directional_windows.dm +++ b/modular_bandastation/aesthetics/windows/code/directional_windows.dm @@ -11,9 +11,12 @@ /obj/structure/window/reinforced/tinted icon = 'modular_bandastation/aesthetics/windows/icons/directional.dmi' icon_state = "r_window" - flags_1 = UNPAINTABLE_1 color = "#5A6E82" +/obj/structure/window/reinforced/tinted/Initialize(mapload,direct) + . = ..() + flags_1 |= UNPAINTABLE_1 + /obj/structure/window/reinforced/tinted/frosted icon_state = "r_window" color = "#5A6E82" @@ -21,15 +24,21 @@ /obj/structure/window/plasma icon = 'modular_bandastation/aesthetics/windows/icons/directional.dmi' icon_state = "window" - flags_1 = UNPAINTABLE_1 color = "#C800FF" +/obj/structure/window/plasma/Initialize(mapload,direct) + . = ..() + flags_1 |= UNPAINTABLE_1 + /obj/structure/window/reinforced/plasma icon = 'modular_bandastation/aesthetics/windows/icons/directional.dmi' icon_state = "r_window" - flags_1 = UNPAINTABLE_1 color = "#C800FF" +/obj/structure/window/reinforced/plasma/Initialize(mapload,direct) + . = ..() + flags_1 |= UNPAINTABLE_1 + // Delete colors /obj/structure/window/bronze color = null