From eb9f45cf055f9f9823eed3aeaefada74f6d07454 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 21 Aug 2024 18:03:49 +0200 Subject: eslint fixes --- play.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 2a792f5..f601076 100644 --- a/play.js +++ b/play.js @@ -440,7 +440,6 @@ function get_army_xy_lerp(s1, s2) { let dx = x2 - x1 let dy = y2 - y1 let n = Math.hypot(dx, dy) - let a = Math.atan2(dy, dx) x = lerp(x1, x2, 1/2) y = lerp(y1, y2, 1/2) @@ -798,7 +797,7 @@ function sub_general(_match, p1) { return `${n}` } -function sub_minus(match, p1) { +function sub_minus(_match, p1) { return "\u2212" + p1 } -- cgit v1.2.3