From ff5ce315f9d58f46da739330a9ccbc2c42a1b237 Mon Sep 17 00:00:00 2001 From: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Date: Thu, 7 Aug 2025 16:00:35 +0200 Subject: [PATCH] Fix changeling typing indicator (#39454) init --- .../Chat/TypingIndicator/TypingIndicatorComponent.cs | 4 ++-- Resources/Prototypes/Entities/Mobs/Species/base.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Chat/TypingIndicator/TypingIndicatorComponent.cs b/Content.Shared/Chat/TypingIndicator/TypingIndicatorComponent.cs index f263de4913..7861da4546 100644 --- a/Content.Shared/Chat/TypingIndicator/TypingIndicatorComponent.cs +++ b/Content.Shared/Chat/TypingIndicator/TypingIndicatorComponent.cs @@ -7,13 +7,13 @@ namespace Content.Shared.Chat.TypingIndicator; /// Show typing indicator icon when player typing text in chat box. /// Added automatically when player poses entity. /// -[RegisterComponent, NetworkedComponent] +[RegisterComponent, NetworkedComponent, AutoGenerateComponentState] [Access(typeof(SharedTypingIndicatorSystem))] public sealed partial class TypingIndicatorComponent : Component { /// /// Prototype id that store all visual info about typing indicator. /// - [DataField("proto")] + [DataField("proto"), AutoNetworkedField] public ProtoId TypingIndicatorPrototype = "default"; } diff --git a/Resources/Prototypes/Entities/Mobs/Species/base.yml b/Resources/Prototypes/Entities/Mobs/Species/base.yml index 9ecce3904d..8fcaef42b9 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/base.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/base.yml @@ -81,6 +81,7 @@ horizontalRotation: 90 - type: HumanoidAppearance species: Human + - type: TypingIndicator - type: SlowOnDamage speedModifierThresholds: 60: 0.7