From 8ec3583ffca32bee5151eabe40358daab5a76b7f Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Wed, 17 Jul 2024 20:41:21 +0200 Subject: [PATCH] Fix a potential movement issue if you're close to the target but in another zone --- Questionable/Controller/Steps/Shared/Move.cs | 4 ++++ Questionable/Questionable.csproj | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Questionable/Controller/Steps/Shared/Move.cs b/Questionable/Controller/Steps/Shared/Move.cs index b67944058..1abbd4eea 100644 --- a/Questionable/Controller/Steps/Shared/Move.cs +++ b/Questionable/Controller/Steps/Shared/Move.cs @@ -91,6 +91,10 @@ internal static class Move var position = clientState.LocalPlayer?.Position ?? new Vector3(); float actualDistance = (position - Destination).Length(); + // this may otherwise sometimes skip a move step + if (Step.AethernetShortcut != null || Step.AetheryteShortcut != null) + actualDistance = float.MaxValue; + if (Step.Mount == true) yield return serviceProvider.GetRequiredService() .With(Step.TerritoryId, MountTask.EMountIf.Always); diff --git a/Questionable/Questionable.csproj b/Questionable/Questionable.csproj index 1e2c3f0c4..9639c5f0e 100644 --- a/Questionable/Questionable.csproj +++ b/Questionable/Questionable.csproj @@ -1,6 +1,6 @@  - 1.9 + 1.10 dist $(SolutionDir)=X:\