diff --git a/doc/classes/TLSOptions.xml b/doc/classes/TLSOptions.xml index 76f79f9fc1c..a95e9a61236 100644 --- a/doc/classes/TLSOptions.xml +++ b/doc/classes/TLSOptions.xml @@ -15,7 +15,7 @@ # Create a TLS server configuration. var server_certs = load("res://my_server_cas.crt") var server_key = load("res://my_server_key.key") - var server_tls_options = TLSOptions.server(server_certs, server_key) + var server_tls_options = TLSOptions.server(server_key, server_certs) [/gdscript] [/codeblocks]