]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix loading a map with a ThirstComponent crashing the game (#20594)
authorDrSmugleaf <DrSmugleaf@users.noreply.github.com>
Fri, 29 Sep 2023 05:43:16 +0000 (22:43 -0700)
committerGitHub <noreply@github.com>
Fri, 29 Sep 2023 05:43:16 +0000 (15:43 +1000)
Content.Shared/Nutrition/Components/ThirstComponent.cs

index ec2ff10667b17555e9b5c7e48407aedb291c6a06..994361470ac2b10cfb58be5b6f6291560328378f 100644 (file)
@@ -35,7 +35,7 @@ public sealed partial class ThirstComponent : Component
     /// </summary>
     [DataField("nextUpdateTime", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
     [AutoNetworkedField]
-    public TimeSpan NextUpdateTime = TimeSpan.MaxValue;
+    public TimeSpan NextUpdateTime;
 
     /// <summary>
     /// The time between each update.