Fixes possession funtime (#37737)

* Fixes possession funtime

* This should probably be generic backend mob list but i can't think of anything else that would need it.
This commit is contained in:
AnturK
2018-05-13 02:26:40 +02:00
committed by letterjay
parent df19890da4
commit 1c164ff28f
3 changed files with 5 additions and 1 deletions
@@ -592,6 +592,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
var/list/possessible = list()
for(var/mob/living/L in GLOB.alive_mob_list)
if(istype(L,/mob/living/carbon/human/dummy) || !get_turf(L)) //Haha no.
continue
if(!(L in GLOB.player_list) && !L.mind)
possessible += L