We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4585c03 commit 2b7efa2Copy full SHA for 2b7efa2
src/client/LocalServer.ts
@@ -17,6 +17,7 @@ import {
17
getClanTag,
18
replacer,
19
} from "../core/Util";
20
+import { getPersistentID } from "./Auth";
21
import { LobbyConfig } from "./ClientGameRunner";
22
import { ReplaySpeedChangeEvent } from "./InputHandler";
23
import { defaultReplaySpeedMultiplier } from "./utilities/ReplaySpeedMultiplier";
@@ -208,7 +209,7 @@ export class LocalServer {
208
209
}
210
const players: PlayerRecord[] = [
211
{
- persistentID: null,
212
+ persistentID: getPersistentID(),
213
username: this.lobbyConfig.playerName,
214
clientID: this.lobbyConfig.clientID,
215
stats: this.allPlayersStats[this.lobbyConfig.clientID],
0 commit comments