Skip to content

Commit

Permalink
Githpages bug solution
Browse files Browse the repository at this point in the history
  • Loading branch information
PlopesK committed Jan 24, 2025
1 parent 3eca5b3 commit 0f01554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/characters.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Função genérica para definir o personagem
function setCharacter(character, spriteFolder, name, extraInfo, lifeIcon) {
function setCharacter(character, spriteFolder, name, extraInfo, lifeIcon = 'life-icon.gif') {
localStorage.setItem('characters', character);

const spriteActions = ['Idle', 'Start', 'Run', 'Jump', 'DoubleJump', 'Damage', 'Death'];
Expand Down

0 comments on commit 0f01554

Please sign in to comment.