Skip to content

Commit

Permalink
Fix loading a map with a ThirstComponent crashing the game (space-wiz…
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSmugleaf authored Sep 29, 2023
1 parent 101ee6e commit 1dc1c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Nutrition/Components/ThirstComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1dc1c8f

Please sign in to comment.