Skip to content

Commit

Permalink
This is a protected list (#10254)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilDragonfiend authored Dec 8, 2023
1 parent b4bde75 commit c17d4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/library/lib_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
create_random_books(books_to_load, src, FALSE, random_category)
load_random_books = FALSE
if(contents.len)
var/obj/item/book/choice = input(user, "Which book would you like to remove from the shelf?") as null|obj in sort_names(contents)
var/obj/item/book/choice = input(user, "Which book would you like to remove from the shelf?") as null|obj in sort_names(contents.Copy())
if(choice)
if(!(user.mobility_flags & MOBILITY_USE) || user.stat || user.restrained() || !in_range(loc, user))
return
Expand Down

0 comments on commit c17d4ee

Please sign in to comment.