From 1cabcbd6835e1d48361a1030c939abb1fcc277b4 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Wed, 10 Jul 2024 08:54:08 +0200 Subject: [PATCH] ESC should only cancel movement if a quest is running --- Questionable/Controller/QuestController.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Questionable/Controller/QuestController.cs b/Questionable/Controller/QuestController.cs index 4dfa0085f..48463285f 100644 --- a/Questionable/Controller/QuestController.cs +++ b/Questionable/Controller/QuestController.cs @@ -74,8 +74,10 @@ internal sealed class QuestController if (_keyState[VirtualKey.ESCAPE]) { if (_currentTask != null || _taskQueue.Count > 0) + { Stop("ESC pressed"); - _movementController.Stop(); + _movementController.Stop(); + } } if (CurrentQuest != null && CurrentQuest.Quest.Data.TerritoryBlacklist.Contains(_clientState.TerritoryType))