From 2fd4c8a0ec43421fadaa4bf34b29050c3a435a21 Mon Sep 17 00:00:00 2001 From: Yenwodyah Date: Fri, 21 Feb 2020 21:47:28 -0600 Subject: [PATCH] Recycler doesn't qdel you if you're in something that isn't an item --- code/game/machinery/recycler.dm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/code/game/machinery/recycler.dm b/code/game/machinery/recycler.dm index f7410c45cdb..6a5a613a0e5 100644 --- a/code/game/machinery/recycler.dm +++ b/code/game/machinery/recycler.dm @@ -98,11 +98,7 @@ if(!isturf(AM0.loc)) return //I don't know how you called Crossed() but stop it. - var/list/to_eat - if(istype(AM0, /obj/item)) - to_eat = AM0.GetAllContents() - else - to_eat = list(AM0) + var/list/to_eat = AM0.GetAllContents() var/living_detected = FALSE //technically includes silicons as well but eh var/list/nom = list()