GeekROS hace 2 años
padre
commit
53bcced507
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      engine/scripts/framework/global.gd

+ 1 - 0
engine/scripts/framework/global.gd

@@ -29,6 +29,7 @@ func _ready() -> void:
 	else:
 		print("[客户端模式]")
 		data["mode"] = "client"
+		Request.on_server_ping()
 		var error = Client.create_client()
 		if error != OK:
 			printerr("[服务器连接失败]")