Preserve dialogue after examinations

This commit is contained in:
hz
2026-08-13 20:54:50 -05:00
parent 07195dd24a
commit 6312b45a92
2 changed files with 16 additions and 2 deletions
+1
View File
@@ -236,6 +236,7 @@ func _run() -> void:
screen._on_attempt_changed()
await process_frame
_assert(screen.current_view == "doctor_office", "attempt refreshes should preserve the interview phase")
_assert(not screen.active_scene.is_patient_dialogue_visible(), "an examination result should not replay the current patient dialogue")
_assert(screen.active_scene.physical_exam_finding_text.text == "Mild epigastric tenderness.", "the returned chart finding should be displayed")
_assert(screen.active_scene.physical_exam_result_button.visible, "a completed exam should present a focused result card")
var result_dialogue_page: int = screen.active_scene.dialogue_page_index