X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;fp=client%2Fsrc%2Fcomponents%2FBoard.vue;h=5ed351a7f4c913952cebabc430884b1b63a7e7fb;hp=a83be0cc56a0bf64d9365ffc9e803b9ebd8b81d1;hb=6e0f28425075e6d2d79cab6d30bca6ce6d55f19d;hpb=b70a32d4e9a6446164e06ba07a586bb157aaf928 diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index a83be0cc..5ed351a7 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -64,6 +64,9 @@ export default { lmHighlights[m.start.x + sizeX * m.start.y] = true; if (!m.end.noHighlight && V.OnBoard(m.end.x, m.end.y)) lmHighlights[m.end.x + sizeX * m.end.y] = true; + if (!!m.start.toplay) + // For Dice variant (at least?) + lmHighlights[m.start.toplay[0] + sizeX * m.start.toplay[1]] = true; }); } const showLight = (