Skip to content

Commit 2b7efa2

Browse files
committed
add back
1 parent 4585c03 commit 2b7efa2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/LocalServer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
getClanTag,
1818
replacer,
1919
} from "../core/Util";
20+
import { getPersistentID } from "./Auth";
2021
import { LobbyConfig } from "./ClientGameRunner";
2122
import { ReplaySpeedChangeEvent } from "./InputHandler";
2223
import { defaultReplaySpeedMultiplier } from "./utilities/ReplaySpeedMultiplier";
@@ -208,7 +209,7 @@ export class LocalServer {
208209
}
209210
const players: PlayerRecord[] = [
210211
{
211-
persistentID: null,
212+
persistentID: getPersistentID(),
212213
username: this.lobbyConfig.playerName,
213214
clientID: this.lobbyConfig.clientID,
214215
stats: this.allPlayersStats[this.lobbyConfig.clientID],

0 commit comments

Comments
 (0)