diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 `<span class="tip" onclick="on_click_general_tip(${x})" onmouseenter="on_focus_general_tip(${x})" onmouseleave="on_blur_general_tip(${x})">${n}</span>` } -function sub_minus(match, p1) { +function sub_minus(_match, p1) { return "\u2212" + p1 } |