From 6945e3027bc14eac1de0099d30f8f35b19a3034e Mon Sep 17 00:00:00 2001 From: Angelo Fallaria Date: Mon, 18 Nov 2024 12:13:01 +0800 Subject: [PATCH] fix: self-aware crashing client on examine --- .../Traits/Assorted/Components/SelfAwareComponent.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Content.Shared/Traits/Assorted/Components/SelfAwareComponent.cs b/Content.Shared/Traits/Assorted/Components/SelfAwareComponent.cs index fa2485ac488..fd721c214e3 100644 --- a/Content.Shared/Traits/Assorted/Components/SelfAwareComponent.cs +++ b/Content.Shared/Traits/Assorted/Components/SelfAwareComponent.cs @@ -8,19 +8,19 @@ namespace Content.Shared.Traits.Assorted.Components; /// /// This is used for the Self-Aware trait to enhance the information received from HealthExaminableSystem. /// -[RegisterComponent, NetworkedComponent] +[RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class SelfAwareComponent : Component { // // Damage types that an entity is able to precisely analyze like a health analyzer when they examine themselves. // - [DataField(required: true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer))] + [DataField(required: true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer)), AutoNetworkedField] public HashSet AnalyzableTypes = default!; // // Damage groups that an entity is able to detect the presence of when they examine themselves. // - [DataField(required: true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer))] + [DataField(required: true, customTypeSerializer:typeof(PrototypeIdHashSetSerializer)), AutoNetworkedField] public HashSet DetectableGroups = default!; //