mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-28 22:33:59 -06:00
ui/curses: fix new quests and acts not appearing
This commit is contained in:
@@ -60,6 +60,7 @@ class PlotWindow(Focusable, ListBoxProgressBarWindow):
|
||||
if prev is not None:
|
||||
self._list_box.set(-1, "[X] " + prev[4:])
|
||||
self._list_box.add("[ ] " + act_name(act_number))
|
||||
self._render_list_box()
|
||||
|
||||
def _sync_position(self) -> None:
|
||||
self._cur_pos = self._player.quest_book.plot_bar.position
|
||||
|
||||
@@ -56,6 +56,7 @@ class QuestBookWindow(Focusable, ListBoxProgressBarWindow):
|
||||
if prev is not None:
|
||||
self._list_box.set(-1, "[X] " + prev[4:])
|
||||
self._list_box.add("[ ] " + quest_name)
|
||||
self._render_list_box()
|
||||
|
||||
def _sync_position(self) -> None:
|
||||
self._cur_pos = self._player.quest_book.quest_bar.position
|
||||
|
||||
Reference in New Issue
Block a user