From a0df18152e7898868bdff616ce8c8491db45e828 Mon Sep 17 00:00:00 2001 From: XeonMations <62395746+XeonMations@users.noreply.github.com> Date: Sun, 25 Aug 2024 11:00:07 +0300 Subject: [PATCH] Potentially fixes book cases (#11311) * hmmm * unsure if this works but we'll see --- code/modules/library/lib_items.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/modules/library/lib_items.dm b/code/modules/library/lib_items.dm index 3ed4731b5b846..5710d58fc701b 100644 --- a/code/modules/library/lib_items.dm +++ b/code/modules/library/lib_items.dm @@ -45,7 +45,7 @@ if(!isbook(I)) continue I.forceMove(src) - update_appearance() + update_icon_state() /obj/structure/bookcase/examine(mob/user) . = ..() @@ -141,8 +141,6 @@ return if(!istype(user)) return - if(!length(contents)) - return if(load_random_books) create_random_books(books_to_load, src, FALSE, random_category) load_random_books = FALSE