Skip to content

Commit

Permalink
fix: ensure last step is reset when a quest is shut down
Browse files Browse the repository at this point in the history
this ensures `panel.updateHighlight` is always called once when the quest is started
  • Loading branch information
pajlada committed Nov 24, 2024
1 parent 246861b commit cb021c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/questhelper/managers/QuestManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ public void shutDownQuest(boolean shouldUpdateList)
selectedQuest = null;
}
}

this.lastStep = null;
}

public void activateShortestPath()
Expand Down

0 comments on commit cb021c0

Please sign in to comment.