Removed the need to ping the target server first. May reduce load times for high latency people

This commit is contained in:
Bob Da Ross
2021-06-16 23:45:12 -05:00
parent e9cac15a3a
commit 1a1a47d07a
5 changed files with 50 additions and 38 deletions

View File

@@ -174,7 +174,6 @@ namespace SeamlessClientPlugin
public static void RunInitilizations()
{
TryShow("Initilizing Communications!");
MyAPIGateway.Multiplayer.RegisterSecureMessageHandler(SeamlessClientNetID, MessageHandler);
Initilized = true;
}
@@ -197,6 +196,8 @@ namespace SeamlessClientPlugin
{
Transfer TransferMessage = Recieved.GetTransferData();
ServerPing.StartServerPing(TransferMessage);
}
}