Fix a buckled entity's sprite being drawn over the chair when looking up
This commit is contained in:
@@ -31,12 +31,14 @@ namespace Content.Shared.GameObjects.Components.Mobs
|
||||
[Serializable, NetSerializable]
|
||||
protected sealed class BuckleComponentState : ComponentState
|
||||
{
|
||||
public BuckleComponentState(bool buckled) : base(ContentNetIDs.BUCKLE)
|
||||
public BuckleComponentState(bool buckled, int? drawDepth) : base(ContentNetIDs.BUCKLE)
|
||||
{
|
||||
Buckled = buckled;
|
||||
DrawDepth = drawDepth;
|
||||
}
|
||||
|
||||
public bool Buckled { get; }
|
||||
public int? DrawDepth;
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
|
||||
Reference in New Issue
Block a user