aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/scripts/client
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/scripts/client')
-rw-r--r--NorthstarDLL/scripts/client/scriptserverbrowser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/scripts/client/scriptserverbrowser.cpp b/NorthstarDLL/scripts/client/scriptserverbrowser.cpp
index 584ec905..39279de5 100644
--- a/NorthstarDLL/scripts/client/scriptserverbrowser.cpp
+++ b/NorthstarDLL/scripts/client/scriptserverbrowser.cpp
@@ -336,7 +336,7 @@ ADD_SQFUNC("void", NSTryAuthWithServer, "int serverIndex, string password = ''",
g_pMasterServerManager->AuthenticateWithServer(
R2::g_pLocalPlayerUserID,
g_pMasterServerManager->m_sOwnClientAuthToken,
- g_pMasterServerManager->m_vRemoteServers[serverIndex].id,
+ g_pMasterServerManager->m_vRemoteServers[serverIndex],
(char*)password);
return SQRESULT_NULL;