On login, load Player from DB in shard thread, not in login thread

This avoids some needless data shuffling and fixes a rare desync.
This commit is contained in:
2022-12-06 01:07:21 +01:00
parent d92b407349
commit 3f44f53f97
5 changed files with 38 additions and 14 deletions

View File

@@ -18,7 +18,7 @@
struct LoginMetadata {
uint64_t FEKey;
Player plr;
int32_t playerId;
time_t timestamp;
};