Fix syntax error.

This commit is contained in:
yukirij 2024-08-26 16:39:45 -07:00
parent 8f9985791a
commit cd5836b146

View File

@ -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);