X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FBoard.vue;h=0856096af897820c86d1f586259be732c4536d69;hp=d89ee40498c0a2fd205934b1987ceb4ae99b05ee;hb=c7550017d88ff6eb32e2c76a271a7f9edc4a3bf6;hpb=0d5335de5c94d780e03ac0aa3279b731c69455cc diff --git a/client/src/components/Board.vue b/client/src/components/Board.vue index d89ee404..0856096a 100644 --- a/client/src/components/Board.vue +++ b/client/src/components/Board.vue @@ -345,10 +345,8 @@ export default { attrs: { src: "/images/pieces/" + - this.vr.getPPpath( - m.appear[0].c + m.appear[0].p, - // Extra arg useful for some variants: - this.orientation) + + // orientation: extra arg useful for some variants: + this.vr.getPPpath(m, this.orientation) + V.IMAGE_EXTENSION }, class: { "choice-piece": true },