mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-17 09:24:37 +01:00
use async for WriteData
This commit is contained in:
@@ -16,7 +16,7 @@ namespace nksrv.LobbyServer.Msgs.Archive
|
||||
|
||||
var response = new ResExistScenarioBookmark();
|
||||
// TODO
|
||||
WriteData(response);
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace nksrv.LobbyServer.Msgs.Archive
|
||||
response.ArchiveRecordList.AddRange([100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800]);
|
||||
response.UnlockedArchiveRecordList.AddRange([100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800]);
|
||||
// TODO: allow unlocking
|
||||
WriteData(response);
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user