We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef8cdb4 commit 42869abCopy full SHA for 42869ab
sources/libcore/network/steam.cpp
@@ -161,6 +161,24 @@ namespace cage
161
};
162
static InitializerConfiguration initializerConfiguration;
163
164
+ #if defined(CAGE_USE_STEAM_SDK)
165
+ struct InitializerAuthentication
166
+ {
167
+ InitializerAuthentication()
168
169
+ ESteamNetworkingAvailability a = sockets->InitAuthentication();
170
+ while (!networkingAvailable(a))
171
172
+ threadSleep(5'000);
173
+ SteamAPI_RunCallbacks();
174
+ SteamGameServer_RunCallbacks();
175
+ a = sockets->GetAuthenticationStatus(nullptr);
176
+ }
177
178
+ };
179
+ static InitializerAuthentication initializerAuthentication;
180
+ #endif
181
+
182
if (useRelay)
183
{
184
#if defined(CAGE_USE_STEAM_SDK)
0 commit comments