Longer waiting time for resource loading
This commit is contained in:
@ -260,7 +260,7 @@ namespace RageCoop.Server.Scripting
|
|||||||
|
|
||||||
Logger?.Info($"Resources sent to:{client.Username}");
|
Logger?.Info($"Resources sent to:{client.Username}");
|
||||||
}
|
}
|
||||||
if (Server.GetResponse<Packets.FileTransferResponse>(client, new Packets.AllResourcesSent())?.Response == FileResponse.Loaded)
|
if (Server.GetResponse<Packets.FileTransferResponse>(client, new Packets.AllResourcesSent(), ConnectionChannel.RequestResponse, 30000)?.Response == FileResponse.Loaded)
|
||||||
{
|
{
|
||||||
client.IsReady = true;
|
client.IsReady = true;
|
||||||
Server.API.Events.InvokePlayerReady(client);
|
Server.API.Events.InvokePlayerReady(client);
|
||||||
|
Reference in New Issue
Block a user