Draw ghosts at the ghost layer (#1045)

* Draw ghosts at the ghost layer

* Add ghosts draw depth
This commit is contained in:
Hugal31
2020-05-31 19:46:50 +02:00
committed by GitHub
parent 53900b79e9
commit d68d71807d
2 changed files with 3 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ namespace Content.Shared.GameObjects
Objects = DrawDepthTag.Default,
Items = DrawDepthTag.Default + 1,
Mobs = DrawDepthTag.Default + 2,
Overlays = DrawDepthTag.Default + 3,
Ghosts = DrawDepthTag.Default + 3,
Overlays = DrawDepthTag.Default + 4,
}
}

View File

@@ -18,7 +18,7 @@
- type: Ghost
- type: Sprite
netsync: false
drawdepth: Mobs
drawdepth: Ghosts
sprite: Mob/ghost.rsi
state: animated
color: "#fff8"