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

Commit

Permalink
fix: fixed high-end duty check
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Mar 18, 2023
1 parent 1c2ea01 commit 3b52bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RotationSolver/Commands/RSCommands_Actions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal static unsafe void DoAnAction(bool isGCD)
if (DateTime.Now - _fastClickStopwatch < _fastSpan) return;
_fastClickStopwatch = DateTime.Now;

if (!RotationUpdater.RightNowRotation.IsAllowed(out var str))
if (SocialUpdater.InHighEndDuty && !RotationUpdater.RightNowRotation.IsAllowed(out var str))
{
Service.ToastGui.ShowError(string.Format(LocalizationManager.RightLang.HighEndBan, str));
return;
Expand Down

0 comments on commit 3b52bee

Please sign in to comment.