Skip to content

Commit 61929b3

Browse files
authored
fix battlemat again (#37453)
1 parent 3a9e072 commit 61929b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/modules/mob/inventory.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +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-
if(W.loc && !W.recursive_in_contents_of(src) && !Adjacent(W) && !W.arcanetampered)
224+
if(W.loc && !W.recursive_in_contents_of(src) && !(Adjacent(W) || W.Adjacent(W)) && !W.arcanetampered)
225225
return 0
226226

227227
if((W.flags & MUSTTWOHAND) && !(M_STRONG in mutations))
@@ -368,7 +368,7 @@
368368

369369
if(failmsg == TRUE)
370370
failmsg = to_drop ? "<span class='warning'>You can't let go of \the [to_drop]!</span>" : null
371-
371+
372372
if(!candrop) //can't drop items while etheral
373373
if(failmsg)
374374
to_chat(src, failmsg)

0 commit comments

Comments
 (0)