From 27b7cd560ce46baee7554f34ae5684ebc1c14eb4 Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Mon, 24 Feb 2020 01:32:04 -0700 Subject: [PATCH] Update plushes.dm --- code/game/objects/items/plushes.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/plushes.dm b/code/game/objects/items/plushes.dm index a2a8cb3150..9dc72b44df 100644 --- a/code/game/objects/items/plushes.dm +++ b/code/game/objects/items/plushes.dm @@ -37,7 +37,9 @@ /obj/item/toy/plush/random_snowflake/Initialize(mapload, set_snowflake_id) . = ..() var/list/configlist = CONFIG_GET(keyed_list/snowflake_plushies) - var/id = pick(configlist) + var/id = SAFEPICK(configlist) + if(!id) + return set_snowflake_from_config(id) /obj/item/toy/plush/Initialize(mapload, set_snowflake_id)