Skip to content

Commit

Permalink
Merge pull request #331 from Hyperboid/dpr/fixsplosion
Browse files Browse the repository at this point in the history
Fix 'Splosion (and other long animations)
  • Loading branch information
BrendaK7200 authored Mar 3, 2025
2 parents a18aedd + 6ea78ba commit 37c8636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/assets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ function Assets.getFrames(path)
end
elseif Assets.getTexture(path.."_01") then
local i = 1
while Assets.getTexture(path .. string.format("_%.2f", i)) do
table.insert(frames, Assets.getTexture(path .. string.format("_%.2f", i)))
while Assets.getTexture(path .. string.format("_%.2d", i)) do
table.insert(frames, Assets.getTexture(path .. string.format("_%.2d", i)))
i = i + 1
end
end
Expand Down

0 comments on commit 37c8636

Please sign in to comment.