X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=d44234647c5779951421a6449002b6b26b2b4a1d;hb=241bf8f2a9a2c48d793aeb0b1d20207f6371de70;hp=626800211a87a8ccb85ae79a644aaf984c8e2a85;hpb=31e9e40ad45faba38612982cfb1d6bdfd98ae20f;p=vchess.git diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index 62680021..d4423464 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -88,7 +88,7 @@ export default { attrs: { src: "/images/pieces/" + - V.getPpath(this.vr.board[ci][cj]) + + this.vr.getPpath(this.vr.board[ci][cj], this.userColor, this.score) + ".svg" } }) @@ -154,7 +154,7 @@ export default { attrs: { src: "/images/pieces/" + - this.vr.getReservePpath(playingColor, i) + + this.vr.getReservePpath(i, playingColor) + ".svg" } }), @@ -181,7 +181,7 @@ export default { attrs: { src: "/images/pieces/" + - this.vr.getReservePpath(oppCol, i) + + this.vr.getReservePpath(i, oppCol) + ".svg" } }), @@ -255,7 +255,7 @@ export default { attrs: { src: "/images/pieces/" + - V.getPpath(m.appear[0].c + m.appear[0].p) + + this.vr.getPpath(m.appear[0].c + m.appear[0].p) + ".svg" }, class: { "choice-piece": true },