From a1d72bbadc4446e2d47e3cb05573582c3d3d8083 Mon Sep 17 00:00:00 2001 From: AnturK Date: Fri, 16 Aug 2019 06:56:00 +0200 Subject: [PATCH] fixes random bookcase icons (#45910) --- code/modules/library/random_books.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/library/random_books.dm b/code/modules/library/random_books.dm index 294ebb1c1d9..48f40cad9f7 100644 --- a/code/modules/library/random_books.dm +++ b/code/modules/library/random_books.dm @@ -36,10 +36,10 @@ if(book_count && isnum(book_count)) book_count += pick(-1,-1,0,1,1) . = INITIALIZE_HINT_LATELOAD - update_icon() /obj/structure/bookcase/random/LateInitialize() create_random_books(book_count, src, FALSE, category) + update_icon() /proc/create_random_books(amount = 2, location, fail_loud = FALSE, category = null) . = list()