Skip to content

Commit

Permalink
[lightning] fix cut-off to 5m not 5m 1s
Browse files Browse the repository at this point in the history
  • Loading branch information
geemus committed Apr 4, 2013
1 parent fc7d11b commit dd4840d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning.rb
Expand Up @@ -22,7 +22,7 @@ def say(string)
seconds = (elapsed % 60).to_s.rjust(2, "0")
Formatador.redisplay("#{minutes}:#{seconds} ")
sleep(1)
if elapsed > 300
if elapsed >= 300
break
end
end
Expand Down

0 comments on commit dd4840d

Please sign in to comment.