mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-22 03:05:16 +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;
|
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
|
||||||
|
|
Loading…
Reference in a new issue