mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Fixed crash when a foe trainer tries to replace a caught Shadow Pokémon, fixed Hall of Fame not remembering entries
This commit is contained in:
@@ -486,7 +486,8 @@ class PokemonGlobalMetadata
|
||||
attr_writer :hallOfFameLastNumber
|
||||
|
||||
def hallOfFame
|
||||
return @hallOfFame || []
|
||||
@hallOfFame = [] if !@hallOfFame
|
||||
return @hallOfFame
|
||||
end
|
||||
|
||||
def hallOfFameLastNumber
|
||||
|
||||
Reference in New Issue
Block a user