Master server is back!

This commit is contained in:
Sardelka
2022-05-31 23:12:32 -08:00
parent 9d9d421671
commit 7aa41a6e0c
8 changed files with 63 additions and 69 deletions

View File

@ -91,7 +91,7 @@ namespace RageCoop.Client
/// <param name="serverAddress">The server address to connect. Example: 127.0.0.1:4499</param>
public static void Connect(string serverAddress)
{
Networking.DisconnectFromServer(serverAddress);
Networking.ToggleConnection(serverAddress);
}
/// <summary>
@ -99,7 +99,7 @@ namespace RageCoop.Client
/// </summary>
public static void Disconnect()
{
Networking.DisconnectFromServer(null);
Networking.ToggleConnection(null);
}
/// <summary>