Skip to content

Commit

Permalink
Intrepid Cockpit Fix (#19108)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
1Sparky1 authored May 12, 2024
1 parent 863cbab commit 536c0bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/structures/window.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions html/changelogs/intrepid-cockpit-fixes.yml
Original file line number Diff line number Diff line change
@@ -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."

0 comments on commit 536c0bf

Please sign in to comment.