Skip to content

Commit

Permalink
Removed unnecessary sleep / spawn
Browse files Browse the repository at this point in the history
  • Loading branch information
Das15 committed Dec 1, 2023
1 parent 56438ff commit 68f6504
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/modules/mob/dead/observer/observer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -758,10 +758,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
if(!tx || !ty || !tz)
return
following = null
spawn(0)
// To stop the ghost flickering.
forceMove(locate(tx, ty, tz))
sleep(15)
forceMove(locate(tx, ty, tz))

/mob/dead/observer/verb/dead_teleport_mob() //Moves the ghost instead of just changing the ghosts's eye -Nodrak
set category = "Ghost"
Expand Down

0 comments on commit 68f6504

Please sign in to comment.