diff --git a/src/game/engine/scenes/tests/statistics_proof.gd b/src/game/engine/scenes/tests/statistics_proof.gd index e0f7e3a4..0aac6b08 100644 --- a/src/game/engine/scenes/tests/statistics_proof.gd +++ b/src/game/engine/scenes/tests/statistics_proof.gd @@ -94,6 +94,9 @@ func _run() -> void: await get_tree().process_frame for tab: int in TAB_NAMES.size(): + ## Keep the TabBar highlight in sync with the panel we drive directly + ## (in-game the player clicks the TabBar, which does this for us). + _modal._tab_bar.current_tab = tab _modal._on_tab_changed(tab) for _i: int in SETTLE_FRAMES: await get_tree().process_frame