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

Commit

Permalink
fix: no windows when the rotation is null.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Mar 25, 2023
1 parent e7bfe7e commit 4984eb4
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 @@ -111,6 +111,7 @@ internal static void OpenConfigWindow()
internal static void UpdateDisplayWindow()
{
var isValid = MajorUpdater.IsValid
&& RotationUpdater.RightNowRotation != null
&& !Service.Conditions[ConditionFlag.OccupiedInCutSceneEvent]
&& !Service.Conditions[ConditionFlag.BetweenAreas]
&& !Service.Conditions[ConditionFlag.BetweenAreas51]
Expand Down

0 comments on commit 4984eb4

Please sign in to comment.