Draw ghosts at the ghost layer (#1045)
* Draw ghosts at the ghost layer * Add ghosts draw depth
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
- type: Ghost
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
drawdepth: Mobs
|
||||
drawdepth: Ghosts
|
||||
sprite: Mob/ghost.rsi
|
||||
state: animated
|
||||
color: "#fff8"
|
||||
|
||||
Reference in New Issue
Block a user