More Rubocopping

This commit is contained in:
Maruno17
2021-12-20 17:18:21 +00:00
parent db4acd3369
commit 33fcbf623b
154 changed files with 1388 additions and 1420 deletions

View File

@@ -216,7 +216,7 @@ class BattleChallengeData
while @trainers.length < @numRounds
newtrainer = pbBattleChallengeTrainer(@wins + @trainers.length, btTrainers)
found = false
for tr in @trainers
@trainers.each do |tr|
found = true if tr == newtrainer
end
@trainers.push(newtrainer) if !found