mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
[Feature] username fallback to "Guest"
This commit is contained in:
parent
7f0860bcbc
commit
fd489a2ad1
@ -323,7 +323,7 @@ export class GameStatsUiHandler extends UiHandler {
|
||||
? i18next.t("trainerNames:player_f")
|
||||
: i18next.t("trainerNames:player_m");
|
||||
|
||||
const displayName = !globalScene.hideUsername ? (loggedInUser?.username ?? "") : usernameReplacement;
|
||||
const displayName = !globalScene.hideUsername ? (loggedInUser?.username ?? "Guest") : usernameReplacement;
|
||||
|
||||
const headerText = addTextObject(
|
||||
0,
|
||||
|
Loading…
Reference in New Issue
Block a user