Restrict progression features to UAT
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
extends VBoxContainer
|
||||
|
||||
const Brand := preload("res://scripts/ui/medmind_style.gd")
|
||||
const FeatureFlags := preload("res://scripts/config/feature_flags.gd")
|
||||
|
||||
var main: Control
|
||||
var title_label: Label
|
||||
@@ -84,6 +85,9 @@ func _start_another() -> void:
|
||||
another_button.disabled = true
|
||||
status_label.text = "Preparing another review pass..."
|
||||
status_label.visible = true
|
||||
if not FeatureFlags.progression_enabled():
|
||||
ReviewQueueService.start_pass("", 20)
|
||||
return
|
||||
if not StudySessionService.session_started.is_connected(_on_review_session_started):
|
||||
StudySessionService.session_started.connect(_on_review_session_started)
|
||||
if not StudySessionService.session_failed.is_connected(_on_review_session_failed):
|
||||
|
||||
Reference in New Issue
Block a user