Resume stale graphical CCS interviews
This commit is contained in:
@@ -62,6 +62,13 @@ func _run() -> void:
|
||||
_assert(not screen.active_scene.is_patient_dialogue_visible(), "the opening should wait for a clinician dialogue selection")
|
||||
_assert(screen.active_scene.choice_container.get_child_count() == 1, "the scene should render server-provided dialogue choices")
|
||||
_assert(is_equal_approx(screen.stage_root.scale.x, screen.stage_root.scale.y), "the graphical stage should preserve its aspect ratio")
|
||||
var stale_graphical_attempt := _sample_attempt(false)
|
||||
stale_graphical_attempt.experienceMode = "graphical_interview"
|
||||
stale_graphical_attempt.openingCompleted = true
|
||||
service.attempt = stale_graphical_attempt
|
||||
screen._render_state()
|
||||
await process_frame
|
||||
_assert(screen.current_view == "doctor_office", "legacy completion flags should not block a graphical interview")
|
||||
service.attempt = _sample_branching_attempt()
|
||||
screen._render_state()
|
||||
await process_frame
|
||||
|
||||
Reference in New Issue
Block a user