mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Fixed roaming Pokémon not remembering whether they have been caught
This commit is contained in:
@@ -6,7 +6,8 @@ class PokemonGlobalMetadata
|
||||
attr_writer :roamPokemonCaught
|
||||
|
||||
def roamPokemonCaught
|
||||
return @roamPokemonCaught || []
|
||||
@roamPokemonCaught = [] if !@roamPokemonCaught
|
||||
return @roamPokemonCaught
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user