Add Tekton Dash Asia via Cloudflare Tunnel as separate option

This commit is contained in:
god
2026-07-13 16:18:38 +08:00
parent 35fbe4ac66
commit 77599a68cc
4 changed files with 21 additions and 4 deletions
+8 -1
View File
@@ -50,8 +50,10 @@ func _ready() -> void:
# Initialize connection mode view
if NakamaManager.nakama_host == "localhost":
server_option.selected = 0
elif NakamaManager.nakama_host == "allan-ancient-boundary-consortium.trycloudflare.com":
elif NakamaManager.nakama_host == "tektondash.vps.webdock.cloud":
server_option.selected = 3
elif NakamaManager.nakama_host == "allan-ancient-boundary-consortium.trycloudflare.com":
server_option.selected = 4
else:
server_option.selected = 1
server_ip_input.text = NakamaManager.nakama_host if NakamaManager.nakama_host != "localhost" else "127.0.0.1"
@@ -240,6 +242,11 @@ func _on_server_option_selected(index: int) -> void:
# Tekton Dash EU
server_ip_input.visible = false
if lan_section: lan_section.visible = false
NakamaManager.set_server("tektondash.vps.webdock.cloud")
elif index == 4:
# Tekton Dash Asia
server_ip_input.visible = false
if lan_section: lan_section.visible = false
NakamaManager.set_server("allan-ancient-boundary-consortium.trycloudflare.com")
func _on_server_ip_submitted(new_text: String) -> void: