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.
This commit is contained in:
Sparky
2024-05-12 18:56:43 +00:00
committed by GitHub
parent 863cbab142
commit 536c0bf6f0
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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