Skip to content

Commit b5f48fc

Browse files
authored
Revert "fix mat (#37423)" (#37449)
This reverts commit c948344.
1 parent d03f312 commit b5f48fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

code/modules/mob/inventory.dm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,7 @@
221221
return 0
222222

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

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

0 commit comments

Comments
 (0)