0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-22 03:05:16 +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; c.Metadata["2d"] = false;
foreach (Client client in server.Clients.Where(client => client.Metadata["lastGamePacket"] != null).ToArray()) { foreach (Client client in server.Clients.Where(client => client.Metadata["lastGamePacket"] != null).ToArray()) {
try { try {
await c.Send((GamePacket) client.Metadata["lastGamePacket"]!, client); Task.WaitAll(c.Send((GamePacket) client.Metadata["lastGamePacket"]!, client));
} }
catch { catch {
// lol who gives a fuck // lol who gives a fuck