From 476f90df095502089d9f60ad59099f405be36cd2 Mon Sep 17 00:00:00 2001 From: Saphire Date: Sun, 17 Nov 2024 04:31:34 +0600 Subject: [PATCH] Fix the component defaults --- .../Singularity/Components/SingularityGeneratorComponent.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Singularity/Components/SingularityGeneratorComponent.cs b/Content.Server/Singularity/Components/SingularityGeneratorComponent.cs index 180b849958..8b9b4e7446 100644 --- a/Content.Server/Singularity/Components/SingularityGeneratorComponent.cs +++ b/Content.Server/Singularity/Components/SingularityGeneratorComponent.cs @@ -53,7 +53,7 @@ public sealed partial class SingularityGeneratorComponent : Component /// Message to use when there's no containment field on cardinal directions /// [DataField] - public LocId ContainmentFailsafeMessage; + public LocId ContainmentFailsafeMessage = "comp-generator-failsafe"; /// /// For how long the failsafe will cause the generator to stop working and not issue a failsafe warning @@ -66,5 +66,5 @@ public sealed partial class SingularityGeneratorComponent : Component /// [DataField(customTypeSerializer: typeof(TimeOffsetSerializer))] [AutoPausedField] - public TimeSpan NextFailsafe; + public TimeSpan NextFailsafe = TimeSpan.Zero; } -- 2.51.2