aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/plugins.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-09 02:46:04 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-09 02:46:04 +0100
commit9ab7c43c34183915273cc8b5ccedd72568249b27 (patch)
tree6662f6f8d5a64bb86ec725faf48fe4c8cbe3eb70 /NorthstarDedicatedTest/plugins.cpp
parent503d336e9e695a0518f90f727f4a2fe4569615e6 (diff)
downloadNorthstarLauncher-9ab7c43c34183915273cc8b5ccedd72568249b27.tar.gz
NorthstarLauncher-9ab7c43c34183915273cc8b5ccedd72568249b27.zip
fix debug crashes
Diffstat (limited to 'NorthstarDedicatedTest/plugins.cpp')
-rw-r--r--NorthstarDedicatedTest/plugins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/plugins.cpp b/NorthstarDedicatedTest/plugins.cpp
index 54067772..7424d954 100644
--- a/NorthstarDedicatedTest/plugins.cpp
+++ b/NorthstarDedicatedTest/plugins.cpp
@@ -193,7 +193,7 @@ SQRESULT SQ_SetConnected(void* sqvm)
SQRESULT SQ_UpdateListenServer(void* sqvm)
{
AcquireSRWLockExclusive(&serverInfoLock);
- serverInfo.id = g_MasterServerManager->m_ownServerId;
+ serverInfo.id = g_MasterServerManager->m_sOwnServerId;
serverInfo.password = Cvar_ns_server_password->GetString();
ReleaseSRWLockExclusive(&serverInfoLock);
return SQRESULT_NOTNULL;