From dbad58d6ed010d7b8690fe34caef96f191d3f744 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 12 May 2016 00:28:48 -0400 Subject: as fast as possible --- js/ui/nopaint.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/ui/nopaint.js b/js/ui/nopaint.js index 7188e91..2ea1646 100644 --- a/js/ui/nopaint.js +++ b/js/ui/nopaint.js @@ -34,7 +34,7 @@ var nopaint = (function(){ var nopaint = {} nopaint.delay = nopaint.normal_delay = 100 - nopaint.turbo_delay = 10 + nopaint.turbo_delay = 0 nopaint.tool = null nopaint.tools = {} nopaint.keys = [] @@ -153,7 +153,7 @@ var nopaint = (function(){ }, play: function(){ clearTimeout(this.timeout) - var delay = nopaint.is_turbo ? randrange(300, 700) : randrange(400, 800) + var delay = nopaint.is_turbo ? randrange(300, 600) : randrange(400, 800) this.timeout = setTimeout(this.play.bind(this), delay) this.check_fitness() this.step += 1 -- cgit v1.2.3-70-g09d2