Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Update SolutionRegenerationComponent.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zekins3366 authored Apr 16, 2024
1 parent 11c9819 commit d434079
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ public sealed partial class SolutionRegenerationComponent : Component
/// How long it takes to regenerate once.
/// </summary>
[DataField("duration"), ViewVariables(VVAccess.ReadWrite)]
public TimeSpan Duration = TimeSpan.FromSeconds(5);
public TimeSpan Duration = TimeSpan.FromSeconds(1);

/// <summary>
/// The time when the next regeneration will occur.
/// </summary>
[DataField("nextChargeTime", customTypeSerializer: typeof(TimeOffsetSerializer)), ViewVariables(VVAccess.ReadWrite)]
[AutoPausedField]
public TimeSpan NextRegenTime = TimeSpan.FromSeconds(0);
public TimeSpan NextRegenTime = TimeSpan.FromSeconds(5);
}

0 comments on commit d434079

Please sign in to comment.