mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-24 07:16:00 +00:00
Fixed previous commit always causing recompiling if shadow_pokemon.dat doesn't exist, also rubocopping
This commit is contained in:
@@ -42,7 +42,7 @@ module GameData
|
||||
validate tr_type => [Symbol, String]
|
||||
validate tr_name => [String, NilClass]
|
||||
key = [tr_type.to_sym, tr_name, tr_version]
|
||||
key = key[0] if key[1] == nil
|
||||
key = key[0] if key[1].nil?
|
||||
return !self::DATA[key].nil?
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user