0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-21 18:55:17 +00:00
This commit is contained in:
Sanae 2022-03-15 01:25:09 -06:00
parent 09ff142a39
commit 4dcfa2f4e6

View file

@ -19,7 +19,7 @@ server.ClientJoined += (c, _) => {
c.Metadata["2d"] = false;
foreach (Client client in server.Clients.Where(client => client.Metadata["lastGamePacket"] != null).ToArray()) {
try {
await c.Send((GamePacket) client.Metadata["lastGamePacket"]!, client);
Task.WaitAll(c.Send((GamePacket) client.Metadata["lastGamePacket"]!, client));
}
catch {
// lol who gives a fuck