summaryrefslogtreecommitdiffstats
path: root/snek.js
diff options
context:
space:
mode:
Diffstat (limited to 'snek.js')
-rw-r--r--snek.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/snek.js b/snek.js
index 6afe00e..40fba23 100644
--- a/snek.js
+++ b/snek.js
@@ -451,7 +451,7 @@ function mouseColidesWithLaserBeam(mouse)
if(direction<0)
direction=Math.PI*2+direction;
- if(Math.abs(direction-Math.PI-snake.direction)<0.1)
+ if(Math.abs(direction-Math.PI-snake.direction)<0.3)
return true;
else
return false;