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

Commit

Permalink
fix: fixed pos lock on PvP.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Nov 5, 2023
1 parent fafb9f0 commit 2f73cf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions RotationSolver/UI/RotationConfigWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2224,6 +2224,7 @@ private static unsafe void DrawStatus()
{
ImGui.Text("Fate: " + DataCenter.FateId.ToString());
}
ImGui.Text("Height: " + Player.Character->CalculateHeight().ToString());
ImGui.Text("Moving: " + DataCenter.IsMoving.ToString());
ImGui.Text("Stop Moving: " + DataCenter.StopMovingRaw.ToString());

Expand Down
2 changes: 1 addition & 1 deletion RotationSolver/Updaters/MovingUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal static class MovingUpdater
internal unsafe static void UpdateCanMove(bool doNextAction)
{
//Special state.
if (Svc.Condition[ConditionFlag.OccupiedInEvent])
if (Svc.Condition[ConditionFlag.OccupiedInEvent] || (DataCenter.Territory?.IsPvpZone ?? false))
{
Service.CanMove = true;
}
Expand Down

0 comments on commit 2f73cf0

Please sign in to comment.