Skip to content

Commit

Permalink
Revert "fix mat (#37423)" (#37449)
Browse files Browse the repository at this point in the history
This reverts commit c948344.
  • Loading branch information
MercuriusGH authored Feb 23, 2025
1 parent d03f312 commit b5f48fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/modules/mob/inventory.dm
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@
return 0

// adjacent only loc checks one way around, so first part is necessary, also for anything inside too
//By using the item's adjacent check instead of the user's, we allow for some item exceptions (e.g.: battlemat)
if(W.loc && !W.recursive_in_contents_of(src) && !W.Adjacent(src) && !W.arcanetampered)
if(W.loc && !W.recursive_in_contents_of(src) && !Adjacent(W) && !W.arcanetampered)
return 0

if((W.flags & MUSTTWOHAND) && !(M_STRONG in mutations))
Expand Down

0 comments on commit b5f48fc

Please sign in to comment.