mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-21 18:55:17 +00:00
Waities
This commit is contained in:
parent
09ff142a39
commit
4dcfa2f4e6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue