mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 03:55:11 +01:00
Merge pull request #22727 from XDTM/PocketShoes
Fixes storage pockets preventing the use of items on the clothing item
This commit is contained in:
@@ -392,7 +392,7 @@
|
||||
return //Robots can't interact with storage items.
|
||||
|
||||
if(!can_be_inserted(W, 0 , user))
|
||||
return
|
||||
return 0
|
||||
|
||||
handle_item_insertion(W, 0 , user)
|
||||
|
||||
|
||||
@@ -79,9 +79,10 @@
|
||||
user << "<span class='notice'>You fix the damages on [src] with [C].</span>"
|
||||
return 1
|
||||
if(pockets)
|
||||
return pockets.attackby(W, user, params)
|
||||
else
|
||||
return ..()
|
||||
var/i = pockets.attackby(W, user, params)
|
||||
if(i)
|
||||
return i
|
||||
return ..()
|
||||
|
||||
/obj/item/clothing/AltClick(mob/user)
|
||||
if(pockets && pockets.quickdraw && pockets.contents.len && !user.incapacitated())
|
||||
|
||||
Reference in New Issue
Block a user