diff --git a/project/the_gates/scripts/loading/gate_loader.gd b/project/the_gates/scripts/loading/gate_loader.gd index d2472cd..58e5442 100644 --- a/project/the_gates/scripts/loading/gate_loader.gd +++ b/project/the_gates/scripts/loading/gate_loader.gd @@ -10,8 +10,6 @@ func _ready() -> void: func load_gate(config_url: String) -> void: - config_url = Url.fix_gate_url(config_url) - Debug.logr("======== " + config_url + " ========") var config_path: String = await FileDownloader.download(config_url) c_gate = ConfigGate.new(config_path, config_url) diff --git a/project/the_gates/scripts/resources/gate_events.gd b/project/the_gates/scripts/resources/gate_events.gd index 7dcf4ec..b5335ff 100644 --- a/project/the_gates/scripts/resources/gate_events.gd +++ b/project/the_gates/scripts/resources/gate_events.gd @@ -12,7 +12,7 @@ var current_gate: Gate func open_gate_emit(url: String) -> void: - current_gate_url = url + current_gate_url = Url.fix_gate_url(url) open_gate.emit() diff --git a/project/the_gates/scripts/ui/search.gd b/project/the_gates/scripts/ui/search.gd index 81cd5e8..4146410 100644 --- a/project/the_gates/scripts/ui/search.gd +++ b/project/the_gates/scripts/ui/search.gd @@ -26,7 +26,6 @@ func _on_go_pressed() -> void: func open_gate() -> void: if Url.is_valid(url): release_focus() - print("open gate: %s" % url) gate_events.open_gate_emit(url) else: shake()