mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
[Beta][P3 Bug] fix: reading stats.battleCount (#4335)
instead of stats.battlesWon
This commit is contained in:
parent
4bdaf93c72
commit
baf686f621
@ -76,7 +76,7 @@ export default class TitleUiHandler extends OptionSelectUiHandler {
|
|||||||
.then(stats => {
|
.then(stats => {
|
||||||
this.playerCountLabel.setText(`${stats.playerCount} ${i18next.t("menu:playersOnline")}`);
|
this.playerCountLabel.setText(`${stats.playerCount} ${i18next.t("menu:playersOnline")}`);
|
||||||
if (this.splashMessage === "splashMessages:battlesWon") {
|
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 => {
|
.catch(err => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user