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.
2 parents e53b074 + 96767d1 commit f73ae86Copy full SHA for f73ae86
com.mirror.steamworks.net/NextServer.cs
@@ -29,7 +29,11 @@ private NextServer(int maxConnections)
29
connToMirrorID = new BidirectionalDictionary<HSteamNetConnection, int>();
30
steamIDToMirrorID = new BidirectionalDictionary<CSteamID, int>();
31
nextConnectionID = 1;
32
+#if UNITY_SERVER
33
+ c_onConnectionChange = Callback<SteamNetConnectionStatusChangedCallback_t>.CreateGameServer(OnConnectionStatusChanged);
34
+#else
35
c_onConnectionChange = Callback<SteamNetConnectionStatusChangedCallback_t>.Create(OnConnectionStatusChanged);
36
+#endif
37
}
38
39
public static NextServer CreateServer(FizzySteamworks transport, int maxConnections)
0 commit comments