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

Commit

Permalink
fix: default ttu.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Feb 28, 2024
1 parent 06e3079 commit 6146e87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion RotationSolver.Basic/Actions/ActionSetting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,4 @@ public TargetType TargetType
/// Should end the special.
/// </summary>
public bool EndSpecial { get; set; }

}
4 changes: 4 additions & 0 deletions RotationSolver.Basic/Actions/BaseAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ public ActionConfig Config
{
value.TimeToKill = 10;
}
if (value.TimeToUntargetable == 0)
{
value.TimeToUntargetable = value.TimeToKill;
}
}
return value;
}
Expand Down

0 comments on commit 6146e87

Please sign in to comment.