mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 16:29:27 +02:00
update money sanitization
This commit is contained in:
parent
979350cd57
commit
9f4fcbdd66
@ -1047,7 +1047,7 @@ export class GameData {
|
||||
scene.pokeballCounts = Overrides.POKEBALL_OVERRIDE.pokeballs;
|
||||
}
|
||||
|
||||
scene.money = Math.floor(sessionData.money) || 0;
|
||||
scene.money = Math.floor(sessionData.money || 0);
|
||||
scene.updateMoneyText();
|
||||
|
||||
if (scene.money > this.gameStats.highestMoney) {
|
||||
|
Loading…
Reference in New Issue
Block a user