]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix changeling typing indicator (#39454)
authorScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Thu, 7 Aug 2025 14:00:35 +0000 (16:00 +0200)
committerGitHub <noreply@github.com>
Thu, 7 Aug 2025 14:00:35 +0000 (16:00 +0200)
init

Content.Shared/Chat/TypingIndicator/TypingIndicatorComponent.cs
Resources/Prototypes/Entities/Mobs/Species/base.yml

index f263de4913609b3ddb4edc9b1d19c350f3d18d24..7861da4546f714eab95ce85f097bed95f9cb67b1 100644 (file)
@@ -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.
 /// </summary>
-[RegisterComponent, NetworkedComponent]
+[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
 [Access(typeof(SharedTypingIndicatorSystem))]
 public sealed partial class TypingIndicatorComponent : Component
 {
     /// <summary>
     ///     Prototype id that store all visual info about typing indicator.
     /// </summary>
-    [DataField("proto")]
+    [DataField("proto"), AutoNetworkedField]
     public ProtoId<TypingIndicatorPrototype> TypingIndicatorPrototype = "default";
 }
index 9ecce3904d1a99c9df3f2eaf65e5a8bb14901878..8fcaef42b98b0449f42ee7bb30810ed16adc06b7 100644 (file)
@@ -81,6 +81,7 @@
     horizontalRotation: 90
   - type: HumanoidAppearance
     species: Human
+  - type: TypingIndicator
   - type: SlowOnDamage
     speedModifierThresholds:
       60: 0.7