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

Commit

Permalink
fix: don't lock movement for the special actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Nov 5, 2023
1 parent c5b13eb commit af7fe0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RotationSolver/Updaters/MovingUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ internal static class MovingUpdater
private static readonly uint[] ActionsNoNeedLock = new uint[]
{
5,
(uint)ActionID.PvP_PowerfulShot,
};

internal unsafe static void UpdateCanMove(bool doNextAction)
{
//Special state.
if (Svc.Condition[ConditionFlag.OccupiedInEvent] || (DataCenter.Territory?.IsPvpZone ?? false))
if (Svc.Condition[ConditionFlag.OccupiedInEvent])
{
Service.CanMove = true;
}
Expand Down

0 comments on commit af7fe0d

Please sign in to comment.