mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-16 17:04:44 +01:00
use async for WriteData
This commit is contained in:
@@ -20,7 +20,7 @@ namespace nksrv.LobbyServer.Msgs.Gacha
|
||||
response.FreeCount = 0;
|
||||
response.EventData = new NetEventData() { Id = 1 };
|
||||
|
||||
WriteData(response);
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace nksrv.LobbyServer.Msgs.Gacha
|
||||
JsonDb.Save();
|
||||
|
||||
|
||||
WriteData(response);
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user