Skip to content

Commit

Permalink
fix: show frame 2
Browse files Browse the repository at this point in the history
  • Loading branch information
2jun0 committed Jul 13, 2024
1 parent 1ca4bd8 commit de2af8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renders/svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def _rendering_pokmemons(
delay = random.uniform(0, 10)

sprite_frame_1 = await self._image_loader.get_pokemon_sprite(pokemon.type, face, pokemon.is_shiny, 1)
sprite_frame_2 = await self._image_loader.get_pokemon_sprite(pokemon.type, face, pokemon.is_shiny, 1)
sprite_frame_2 = await self._image_loader.get_pokemon_sprite(pokemon.type, face, pokemon.is_shiny, 2)

yield _RenderingPokemon(
duration=duration, offset=offset, delay=delay, frames=(sprite_frame_1, sprite_frame_2)
Expand Down

0 comments on commit de2af8f

Please sign in to comment.