Skip to content

Commit

Permalink
FIXES BAGULOOSE QUICK EQUIP EXPLOIT (#36676)
Browse files Browse the repository at this point in the history
* FIXES BAGULOOSE EXPLOIT

* moves this here for less lines changed, works all the same

* wait this affects return value keep it
  • Loading branch information
SECBATON-GRIFFON authored Jun 20, 2024
1 parent 91d5e85 commit b98c136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/items/weapons/storage/bluespace.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
user.drop_item(src)
qdel(user)

/obj/item/weapon/storage/backpack/holding/attackby(obj/item/weapon/W as obj, mob/user as mob)
/obj/item/weapon/storage/backpack/holding/handle_item_insertion(obj/item/W, prevent_warning)
. = ..()
if(W == src)
return // HOLY FUCKING SHIT WHY STORAGE CODE, WHY - pomf
var/list/recursive_list = recursive_type_check(W, /obj/item/weapon/storage/backpack/holding)
if(recursive_list.len) // Placing a bag of holding into another will singuloose when stored inside other objects too, such as when on your back or on a diona's back and stuffed in
singulocreate(recursive_list, user)
singulocreate(recursive_list, usr)
return

//BoH+BoH=Singularity, WAS commented out
Expand Down

0 comments on commit b98c136

Please sign in to comment.