summaryrefslogtreecommitdiff
path: root/game.html.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'game.html.coffee')
-rw-r--r--game.html.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/game.html.coffee b/game.html.coffee
index 4184cca..9cd6c7e 100644
--- a/game.html.coffee
+++ b/game.html.coffee
@@ -4,7 +4,7 @@
# This program is available under the terms of the MIT License
-version = "0.1.54"
+version = "0.1.56"
{ htmlcup } = require 'htmlcup'
@@ -285,7 +285,7 @@ genPage = ->
@vaquitas.push v
draw: ->
jaws.clear()
- @addVaquita() if @vaquitas.length < 7 or jaws.pressed[spaceKey]
+ @addVaquita() if (!(@gameloop.ticks & 0x7f) and @vaquitas.length < 7) or jaws.pressed[spaceKey]
v.draw() for v in @vaquitas
if (@gameloop.ticks & 0xff) is 0xff
fps.innerHTML = " - #{@gameloop.fps} fps"