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

Commit

Permalink
fix: add auto cancel when duty complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Feb 20, 2023
1 parent 0ea0c26 commit feed73d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RotationSolver/RotationSolverPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ private void ClientState_TerritoryChanged(object sender, ushort e)

private async void DutyState_DutyCompleted(object sender, ushort e)
{
RSCommands.CancelState();
await Task.Delay(new Random().Next(4000, 6000));

Service.Configuration.DutyEnd.AddMacro();
Expand Down

0 comments on commit feed73d

Please sign in to comment.