mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Yet more Rubocopping
This commit is contained in:
@@ -321,7 +321,7 @@ class Battle
|
||||
def pbAbleCount(idxBattler = 0)
|
||||
party = pbParty(idxBattler)
|
||||
count = 0
|
||||
party.each { |pkmn| count += 1 if pkmn && pkmn.able? }
|
||||
party.each { |pkmn| count += 1 if pkmn&.able? }
|
||||
return count
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user