From f41bff2e5558f554bf35596525a5946805cc9d35 Mon Sep 17 00:00:00 2001 From: skoglol <33292112+kriskog@users.noreply.github.com> Date: Fri, 8 Nov 2019 22:19:47 +0100 Subject: [PATCH] Fixes butchering (#47657) * Fixes butchering * list() --- code/modules/mob/living/simple_animal/simple_animal.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/simple_animal.dm b/code/modules/mob/living/simple_animal/simple_animal.dm index 14fb69cb0ae..0ed331406ba 100644 --- a/code/modules/mob/living/simple_animal/simple_animal.dm +++ b/code/modules/mob/living/simple_animal/simple_animal.dm @@ -311,8 +311,12 @@ /mob/living/simple_animal/gib() if(butcher_results || guaranteed_butcher_results) + var/list/butcher = list() + if(butcher_results) + butcher += butcher_results + if(guaranteed_butcher_results) + butcher += guaranteed_butcher_results var/atom/Tsec = drop_location() - var/list/butcher = butcher_results + guaranteed_butcher_results for(var/path in butcher) for(var/i in 1 to butcher[path]) new path(Tsec)