From 536c0bf6f09be3b72264f4254f87362fce9fcfb4 Mon Sep 17 00:00:00 2001 From: Sparky Date: Sun, 12 May 2024 19:56:43 +0100 Subject: [PATCH] Intrepid Cockpit Fix (#19108) Fixes being unable to access the Intrepid's copilot chairs, outside of climbing over the back of them. This was due to the window present on their tile not checking for density, despite being specifically modified to allow passage. --- code/game/objects/structures/window.dm | 2 +- html/changelogs/intrepid-cockpit-fixes.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/intrepid-cockpit-fixes.yml diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index a9592aa87a6..151ad1485e7 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -170,7 +170,7 @@ if(istype(mover) && mover.checkpass(PASSGLASS)) return 1 if(is_full_window()) - return 0 //full tile window, you can't move into it! + return !density //full tile window, you can't move into it if it's solid! if(get_dir(loc, target) & dir) return !density else diff --git a/html/changelogs/intrepid-cockpit-fixes.yml b/html/changelogs/intrepid-cockpit-fixes.yml new file mode 100644 index 00000000000..d2e482b615c --- /dev/null +++ b/html/changelogs/intrepid-cockpit-fixes.yml @@ -0,0 +1,6 @@ +author: Sparky_hotdog + +delete-after: True + +changes: + - bugfix: "Fixed an issue where you couldn't access either of the Intrepid copilot chairs without climbing over them."