Merge pull request #49495 from Yenwodyah/recyclefuck

Recycler doesn't qdel you if you're in something that isn't an item
This commit is contained in:
ShizCalev
2020-02-22 01:03:57 -05:00
committed by GitHub
+1 -5
View File
@@ -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()