diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-09 20:23:16 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-09 20:23:16 +0100 |
commit | 5ce8343bcced9e92ab2b3c1b80382cffa0281629 (patch) | |
tree | 95ce2dbe8dc976cab987d76f8e964a2efc6c23fd /NorthstarDedicatedTest/masterserver.cpp | |
parent | 180470cf75f40bed9c24b22d0afd68871d40c9f3 (diff) | |
download | NorthstarLauncher-5ce8343bcced9e92ab2b3c1b80382cffa0281629.tar.gz NorthstarLauncher-5ce8343bcced9e92ab2b3c1b80382cffa0281629.zip |
use lambdas for dll load callbacks so intellisense shits itself less
Diffstat (limited to 'NorthstarDedicatedTest/masterserver.cpp')
-rw-r--r-- | NorthstarDedicatedTest/masterserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/masterserver.cpp b/NorthstarDedicatedTest/masterserver.cpp index 63915732..1ef53c7d 100644 --- a/NorthstarDedicatedTest/masterserver.cpp +++ b/NorthstarDedicatedTest/masterserver.cpp @@ -1303,7 +1303,7 @@ void CHostState__State_GameShutdownHook(CHostState* hostState) MasterServerManager::MasterServerManager() : m_pendingConnectionInfo {}, m_sOwnServerId {""}, m_sOwnClientAuthToken {""} {} -ON_DLL_LOAD_RELIESON("engine.dll", MasterServer, ConCommand, (HMODULE baseAddress) +ON_DLL_LOAD_RELIESON("engine.dll", MasterServer, ConCommand, [](HMODULE baseAddress) { Cvar_ns_masterserver_hostname = new ConVar("ns_masterserver_hostname", "127.0.0.1", FCVAR_NONE, ""); // unfortunately lib doesn't let us specify a port and still have https work |