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

Commit

Permalink
fix: fix the auto hide window logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Mar 26, 2023
1 parent 09607f7 commit 799d2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RotationSolver/RotationSolverPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ internal static void UpdateDisplayWindow()
var isValid = MajorUpdater.IsValid
&& (!Service.Config.OnlyShowWithHostileOrInDuty ||
Service.Conditions[ConditionFlag.BoundByDuty] ||
DataCenter.HostileTargets.Any(o => o.DistanceToPlayer() <= 25))
DataCenter.AllHostileTargets.Any(o => o.DistanceToPlayer() <= 25))
&& RotationUpdater.RightNowRotation != null
&& !Service.Conditions[ConditionFlag.OccupiedInCutSceneEvent]
&& !Service.Conditions[ConditionFlag.BetweenAreas]
Expand Down

0 comments on commit 799d2a7

Please sign in to comment.