[Beta][P3 Bug] fix: reading stats.battleCount (#4335)

instead of stats.battlesWon
This commit is contained in:
flx-sta 2024-09-19 20:23:36 -07:00 committed by GitHub
parent 4bdaf93c72
commit baf686f621
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ export default class TitleUiHandler extends OptionSelectUiHandler {
.then(stats => {
this.playerCountLabel.setText(`${stats.playerCount} ${i18next.t("menu:playersOnline")}`);
if (this.splashMessage === "splashMessages:battlesWon") {
this.splashMessageText.setText(i18next.t(this.splashMessage, { count: stats.battlesWon }));
this.splashMessageText.setText(i18next.t(this.splashMessage, { count: stats.battleCount }));
}
})
.catch(err => {