Sprite Movement working with AI movement (#33494)
* FINALLY * Update animals.yml
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Content.Shared.Movement.Components;
|
||||
/// <summary>
|
||||
/// Updates a sprite layer based on whether an entity is moving via input or not.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
|
||||
public sealed partial class SpriteMovementComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
@@ -19,4 +19,7 @@ public sealed partial class SpriteMovementComponent : Component
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public Dictionary<string, PrototypeLayerData> NoMovementLayers = new();
|
||||
|
||||
[DataField, AutoNetworkedField]
|
||||
public bool IsMoving;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user