diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/animation.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/animation.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/animation.lua index 8d955d3..f432a5a 100644 --- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/animation.lua +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/animation.lua @@ -11,10 +11,13 @@ function animationModule.animation(dt) game = { animation = function(start, frames, loop, restart) - if restart == true then + --[[if restart == true then start = start - start + 1 elseif restart == false or restart == nil then start = start + end--]] + if restart == true then + start = 1 end if math.floor(start) > frames then if loop > 0 then |