diff options
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua')
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua index 8667ff6..ff5293d 100644 --- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua @@ -1,7 +1,8 @@ game.animation = function(character, dt) character.elapsedTime = character.elapsedTime + dt if character.elapsedTime > (1 / character.fps) then ---[[ if character.loop > 0 then +--[[ + if character.loop > 0 then if loopCounter == nil then character.currentFrame = 1 loopCounter = 1 |