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,
|
Objects = DrawDepthTag.Default,
|
||||||
Items = DrawDepthTag.Default + 1,
|
Items = DrawDepthTag.Default + 1,
|
||||||
Mobs = DrawDepthTag.Default + 2,
|
Mobs = DrawDepthTag.Default + 2,
|
||||||
Overlays = DrawDepthTag.Default + 3,
|
Ghosts = DrawDepthTag.Default + 3,
|
||||||
|
Overlays = DrawDepthTag.Default + 4,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
- type: Ghost
|
- type: Ghost
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
netsync: false
|
netsync: false
|
||||||
drawdepth: Mobs
|
drawdepth: Ghosts
|
||||||
sprite: Mob/ghost.rsi
|
sprite: Mob/ghost.rsi
|
||||||
state: animated
|
state: animated
|
||||||
color: "#fff8"
|
color: "#fff8"
|
||||||
|
|||||||
Reference in New Issue
Block a user