From 96f9df96bb607be62feb674abd9a285898c4b7a5 Mon Sep 17 00:00:00 2001 From: MrStonedOne Date: Fri, 2 Oct 2015 09:36:41 -0700 Subject: [PATCH] Ghost orbits: fixes an edge case with ghost animation on orbit exit --- code/modules/mob/dead/observer/observer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 8aff7d634e1..194277ff065 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -222,9 +222,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp /mob/dead/observer/orbit() ..() //restart our floating animation after orbit is done. - pixel_y = 0 sleep 2 //orbit sets up a 2ds animation when it finishes, so we wait for that to end if (!orbiting) //make sure another orbit hasn't started + pixel_y = 0 animate(src, pixel_y = 2, time = 10, loop = -1) /mob/dead/observer/verb/jumptomob() //Moves the ghost instead of just changing the ghosts's eye -Nodrak