summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 0840827..15a8d09 100644
--- a/play.js
+++ b/play.js
@@ -463,7 +463,7 @@ function get_army_xy_lerp(s1, s2) {
y = lerp(y1, y2, 1/2)
if (n < 150) {
- if (Math.abs(dx) > Math.abs(dy)) {
+ if (Math.abs(dx) * 0.75 > Math.abs(dy)) {
if (dx > 0)
x -= 10
else