mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-04 13:49:32 +02:00
fix: reading stats.battleCount
instead of stats.battlesWon
This commit is contained in:
parent
48430c8feb
commit
854954c6bd
@ -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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user