Fixed null

This commit is contained in:
Bob Da Ross
2021-05-10 17:00:07 -05:00
parent 6faad11c9d
commit 5ae7bd5294

View File

@@ -20,6 +20,8 @@ namespace SeamlessClientPlugin.SeamlessTransfer
public static void StartServerPing(Transfer ClientTransfer) public static void StartServerPing(Transfer ClientTransfer)
{ {
// We need to first ping the server to make sure its running and so we can get a connection // We need to first ping the server to make sure its running and so we can get a connection
Transfer = ClientTransfer;
Request = Transfer.WorldRequest;
if (Transfer.TargetServerID == 0) if (Transfer.TargetServerID == 0)
{ {
@@ -27,8 +29,6 @@ namespace SeamlessClientPlugin.SeamlessTransfer
return; return;
} }
Transfer = ClientTransfer;
Request = Transfer.WorldRequest;
SeamlessClient.TryShow("Beginning Redirect to server: " + Transfer.TargetServerID); SeamlessClient.TryShow("Beginning Redirect to server: " + Transfer.TargetServerID);