Merge pull request #5945 from JJRcop/get_ghost-fix

Fixes unreported issue with get_ghost
This commit is contained in:
Swag McYolosteinen
2014-12-03 17:45:07 +01:00
3 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -882,7 +882,7 @@ var/list/slot_equipment_priority = list( \
/mob/proc/get_ghost(even_if_they_cant_reenter = 0)
if(mind)
for(var/mob/dead/observer/G in player_list)
for(var/mob/dead/observer/G in dead_mob_list)
if(G.mind == mind)
if(G.can_reenter_corpse || even_if_they_cant_reenter)
return G