Skip to content

Commit

Permalink
Fixes a critical bug that lets you interact through everything (#9870)
Browse files Browse the repository at this point in the history
* What was this if statement even...

* Forgot to put these back- whoops
  • Loading branch information
HowToLoLu authored Sep 21, 2023
1 parent 7ba87c9 commit 77fe133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/_onclick/adjacent.dm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
continue

//If there's a dense object on the turf, only allow the click to pass if you can throw items over it or it has a special flag.
if(O == target || O == mover || (O.pass_flags_self & LETPASSTHROW|LETPASSCLICKS))
if(O == target || O == mover || (O.pass_flags_self & (LETPASSTHROW|LETPASSCLICKS)))
continue // LETPASSTHROW is used for anything you can click through (or the firedoor special case, see above)

if( O.flags_1&ON_BORDER_1) // windows are on border, check them first
Expand Down

0 comments on commit 77fe133

Please sign in to comment.