From e749092037eddd82595e2cae51c2dbcdb37e8575 Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Fri, 11 Jul 2025 08:09:18 +0200 Subject: [PATCH] Fixes fake windows/grilles having botched sprites (#92065) ## About The Pull Request That sure is a window ![image](https://github.com/user-attachments/assets/99c0b3a1-3687-4f31-93db-2bdb2ecc197e) ## Changelog :cl: fix: Fixed fake windows looking like grilles /:cl: --- code/game/turfs/closed/indestructible.dm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/code/game/turfs/closed/indestructible.dm b/code/game/turfs/closed/indestructible.dm index 0ef3d8b6bc2..1ab16813530 100644 --- a/code/game/turfs/closed/indestructible.dm +++ b/code/game/turfs/closed/indestructible.dm @@ -223,8 +223,8 @@ SKYRAT EDIT REMOVAL END */ /turf/closed/indestructible/fakeglass/Initialize(mapload) . = ..() - underlays += mutable_appearance('icons/obj/structures.dmi', "grille", layer - 0.01) //add a grille underlay - underlays += mutable_appearance('icons/turf/floors.dmi', "plating", layer - 0.02) //add the plating underlay, below the grille + underlays += mutable_appearance('icons/obj/structures.dmi', "grille", layer - 0.01, src) //add a grille underlay + underlays += mutable_appearance('icons/turf/floors.dmi', "plating", layer - 0.02, src) //add the plating underlay, below the grille /turf/closed/indestructible/opsglass name = "window" @@ -238,9 +238,8 @@ SKYRAT EDIT REMOVAL END */ /turf/closed/indestructible/opsglass/Initialize(mapload) . = ..() - icon_state = null - underlays += mutable_appearance('icons/obj/structures.dmi', "grille", layer - 0.01) - underlays += mutable_appearance('icons/turf/floors.dmi', "plating", layer - 0.02) + underlays += mutable_appearance('icons/obj/structures.dmi', "grille", layer - 0.01, src) + underlays += mutable_appearance('icons/turf/floors.dmi', "plating", layer - 0.02, src) /turf/closed/indestructible/fakedoor name = "airlock" @@ -377,7 +376,7 @@ SKYRAT EDIT REMOVAL END */ /turf/closed/indestructible/resin/membrane/Initialize(mapload) . = ..() - underlays += mutable_appearance('icons/turf/floors.dmi', "engine") // add the reinforced floor underneath + underlays += mutable_appearance('icons/turf/floors.dmi', "engine", layer - 0.01, src) // add the reinforced floor underneath /turf/closed/indestructible/grille name = "grille" @@ -387,7 +386,7 @@ SKYRAT EDIT REMOVAL END */ /turf/closed/indestructible/grille/Initialize(mapload) . = ..() - underlays += mutable_appearance('icons/turf/floors.dmi', "plating") + underlays += mutable_appearance('icons/turf/floors.dmi', "plating", layer - 0.01, src) /turf/closed/indestructible/meat name = "dense meat wall"