Fixes butchering (#47657)

* Fixes butchering

* list()
This commit is contained in:
skoglol
2019-11-08 22:19:47 +01:00
committed by AnturK
parent 101199a46b
commit f41bff2e55
@@ -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)