mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Yet more Rubocopping
This commit is contained in:
@@ -542,7 +542,7 @@ module Compiler
|
||||
current_family = nil
|
||||
list.each do |species|
|
||||
next if !species
|
||||
if current_family && current_family.include?(species)
|
||||
if current_family&.include?(species)
|
||||
f.write(",") if comma
|
||||
else
|
||||
current_family = GameData::Species.get(species).get_family_species
|
||||
@@ -739,7 +739,7 @@ module Compiler
|
||||
btTrainersRequiredTypes.keys.each do |key|
|
||||
schema = btTrainersRequiredTypes[key]
|
||||
record = bttrainers[i][schema[0]]
|
||||
next if record == nil
|
||||
next if record.nil?
|
||||
f.write(sprintf("%s = ", key))
|
||||
case key
|
||||
when "Type"
|
||||
|
||||
Reference in New Issue
Block a user