Skip to content

Commit

Permalink
Update storage.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 committed Aug 13, 2024
1 parent 5579a4f commit 310bb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/items/storage/storage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@
if(istype(dest_object, /obj/item/storage))
var/obj/item/storage/our_storage = dest_object
for(var/obj/item/I in contents)
if(!can_be_inserted(I, FALSE))
if(!our_storage.can_be_inserted(I, FALSE))
continue
remove_from_storage(I, null, usr) // to avoid cursed storages we remove contents manually to nullspace
our_storage.handle_item_insertion(I, TRUE, usr)
Expand Down

0 comments on commit 310bb77

Please sign in to comment.