Add delay to AutoOrient (#33479)

It functions identically to how V1 of orientation worked and it's incredibly annoying.
This commit is contained in:
metalgearsloth
2024-11-24 03:52:58 +11:00
committed by GitHub
parent 8522ffe8ce
commit 11dbf50ed6
4 changed files with 60 additions and 9 deletions

View File

@@ -5,8 +5,9 @@ namespace Content.Shared.Movement.Components;
/// <summary>
/// Automatically rotates eye upon grid traversals.
/// </summary>
[RegisterComponent, NetworkedComponent]
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState, AutoGenerateComponentPause]
public sealed partial class AutoOrientComponent : Component
{
[DataField, AutoNetworkedField, AutoPausedField]
public TimeSpan? NextChange;
}