From: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Date: Thu, 7 Aug 2025 14:00:35 +0000 (+0200)
Subject: Fix changeling typing indicator (#39454)
X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ff5ce315f9d58f46da739330a9ccbc2c42a1b237;p=space-station-14.git
Fix changeling typing indicator (#39454)
init
---
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