From cd5836b14613323057ae7befa477b60e141bc328 Mon Sep 17 00:00:00 2001 From: yukirij Date: Mon, 26 Aug 2024 16:39:45 -0700 Subject: [PATCH] Fix syntax error. --- www/js/interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/interface.js b/www/js/interface.js index 6a79589..0f405b2 100644 --- a/www/js/interface.js +++ b/www/js/interface.js @@ -682,7 +682,7 @@ const INTERFACE = { } hex(scale=1) { - let scale = scale * INTERFACE.TileScale * this.scale; + scale *= INTERFACE.TileScale * this.scale; this.ctx.moveTo(INTERFACE.HexVertex[5].x * scale, INTERFACE.HexVertex[5].y * scale); for(let i = 0; i < INTERFACE.HexVertex.length; ++i) { this.ctx.lineTo(INTERFACE.HexVertex[i].x * scale, INTERFACE.HexVertex[i].y * scale);