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

Commit

Permalink
fix: fix High-end duty property.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Mar 25, 2023
1 parent 7798387 commit e7bfe7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RotationSolver/Commands/RSCommands_Actions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ internal static unsafe void DoAnAction(bool isGCD)
//if (nextAction is BaseAction acti)
// Service.ChatGui.Print($"Will Do {acti} {ActionUpdater.WeaponElapsed}");
#endif
if (SocialUpdater.InHighEndDuty && !RotationUpdater.RightNowRotation.IsAllowed(out var str))
if (DataCenter.InHighEndDuty && !RotationUpdater.RightNowRotation.IsAllowed(out var str))
{
if (_loop % 5 == 0)
{
Expand Down
2 changes: 1 addition & 1 deletion RotationSolver/Updaters/SocialUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static void ClientState_TerritoryChanged(object sender, ushort e)
{
_canSaying = true;
}
InHighEndDuty = HighEndDuties.Any(t => t.RowId == territory.RowId);
DataCenter.InHighEndDuty = HighEndDuties.Any(t => t.RowId == territory.RowId);
}

static void DutyState_DutyStarted(object sender, ushort e)
Expand Down

0 comments on commit e7bfe7e

Please sign in to comment.