Remove sample creation control
This commit is contained in:
@@ -8,7 +8,6 @@ signal state_changed
|
||||
signal request_failed(message: String)
|
||||
signal outcome_changed
|
||||
signal history_changed
|
||||
signal sample_created
|
||||
|
||||
var api_url := DEFAULT_API_URL
|
||||
var outcome_api_url := "https://s3q.ranaze.com/api/step3-outcomes"
|
||||
@@ -60,10 +59,6 @@ func load_results_preview() -> void:
|
||||
_send("preview", HTTPClient.METHOD_GET, "/preview-results")
|
||||
|
||||
|
||||
func create_sample_completed() -> void:
|
||||
_send("sample_create", HTTPClient.METHOD_POST, "/sample-completed")
|
||||
|
||||
|
||||
func start_next_block() -> void:
|
||||
if simulation.is_empty():
|
||||
return
|
||||
@@ -182,9 +177,6 @@ func _on_request_completed(result: int, response_code: int, _headers: PackedStri
|
||||
history_next_before = "" if next_before == null else str(next_before)
|
||||
history_changed.emit()
|
||||
return
|
||||
if action == "sample_create":
|
||||
sample_created.emit()
|
||||
return
|
||||
if action.begins_with("outcome_"):
|
||||
outcome = parsed
|
||||
outcome_changed.emit()
|
||||
|
||||
Reference in New Issue
Block a user