Log public id (#1278)

## Description:

Log player public id to the console.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors
This commit is contained in:
Scott Anderson
2025-06-26 17:08:27 -04:00
committed by GitHub
parent af451be606
commit f0ebe195ee
+4
View File
@@ -233,6 +233,10 @@ class Client {
logoutDiscordButton.hidden = true;
return;
}
console.log(
`Your player ID is ${userMeResponse.player.publicId}\n` +
"Sharing this ID will allow others to view your game history and stats.",
);
loginDiscordButton.translationKey = "main.logged_in";
loginDiscordButton.hidden = true;
territoryModal.onUserMe(userMeResponse);