Fix loading a map with a ThirstComponent crashing the game (#20594)
This commit is contained in:
@@ -35,7 +35,7 @@ public sealed partial class ThirstComponent : Component
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField("nextUpdateTime", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
|
[DataField("nextUpdateTime", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
|
||||||
[AutoNetworkedField]
|
[AutoNetworkedField]
|
||||||
public TimeSpan NextUpdateTime = TimeSpan.MaxValue;
|
public TimeSpan NextUpdateTime;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The time between each update.
|
/// The time between each update.
|
||||||
|
|||||||
Reference in New Issue
Block a user