Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Frutescens committed Jul 24, 2024
1 parent 54feaa0 commit 8348449
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/system/game-stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ export class GameStats {
this.pokemonCaught = source?.pokemonCaught || 0;
this.pokemonHatched = source?.pokemonHatched || 0;
// Currently handled by migration
this.subLegendaryPokemonSeen = source?.subLegendaryPokemonSeen;
this.subLegendaryPokemonCaught = source?.subLegendaryPokemonCaught;
this.subLegendaryPokemonHatched = source?.subLegendaryPokemonHatched;
this.subLegendaryPokemonSeen = source?.subLegendaryPokemonSeen || 0;
this.subLegendaryPokemonCaught = source?.subLegendaryPokemonCaught || 0;
this.subLegendaryPokemonHatched = source?.subLegendaryPokemonHatched || 0;
this.legendaryPokemonSeen = source?.legendaryPokemonSeen || 0;
this.legendaryPokemonCaught = source?.legendaryPokemonCaught || 0;
this.legendaryPokemonHatched = source?.legendaryPokemonHatched || 0;
Expand Down

0 comments on commit 8348449

Please sign in to comment.