From fe54f7b417557de69c13ed3a81c07e1a52a51f6c Mon Sep 17 00:00:00 2001 From: hz Date: Fri, 31 Jul 2026 08:22:46 -0500 Subject: [PATCH] Return question runs to dashboard --- scripts/ui/main.gd | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/ui/main.gd b/scripts/ui/main.gd index 1ec544d..2f6745b 100644 --- a/scripts/ui/main.gd +++ b/scripts/ui/main.gd @@ -969,15 +969,8 @@ func exit_current_run() -> void: if current_screen_name == "flashcards_study": show_screen("flashcards_hub") return - var was_core_run := BlockSessionService.session_kind == "core" - var was_review_run := BlockSessionService.session_kind == "review" - var was_dynamic_run := BlockSessionService.session_kind == "dynamic" if BlockSessionService.block_started and BlockSessionService.session_kind != "simulation": BlockSessionService.finish_block() elif BlockSessionService.session_kind == "simulation": BlockSessionService.block_started = false - if was_review_run or was_dynamic_run: - DashboardService.refresh() - show_screen("dashboard") - else: - show_screen("selection", "exam" if was_core_run else "step3") + show_screen("dashboard")