mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
More Rubocop changes
This commit is contained in:
@@ -88,11 +88,10 @@ class Battle::Scene
|
||||
shouldCompact = false
|
||||
@animations.each_with_index do |a, i|
|
||||
a.update
|
||||
if a.animDone?
|
||||
a.dispose
|
||||
@animations[i] = nil
|
||||
shouldCompact = true
|
||||
end
|
||||
next if !a.animDone?
|
||||
a.dispose
|
||||
@animations[i] = nil
|
||||
shouldCompact = true
|
||||
end
|
||||
@animations.compact! if shouldCompact
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user