Fixes ghost Entered not being called.

This commit is contained in:
Rob Nelson
2014-03-16 21:50:55 -04:00
committed by ZomgPonies
parent 103866975e
commit 935de91fe0
3 changed files with 29 additions and 17 deletions
@@ -176,6 +176,10 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
for(var/obj/effect/step_trigger/S in NewLoc)
S.Crossed(src)
var/area/A = get_area_master(src)
if(A)
A.Entered(src)
return
loc = get_turf(src) //Get out of closets and such as a ghost
if((direct & NORTH) && y < world.maxy)
@@ -190,6 +194,10 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
for(var/obj/effect/step_trigger/S in locate(x, y, z)) //<-- this is dumb
S.Crossed(src)
var/area/A = get_area_master(src)
if(A)
A.Entered(src)
/mob/dead/observer/examine()
if(usr)
usr << desc