X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FComputerGame.vue;fp=client%2Fsrc%2Fcomponents%2FComputerGame.vue;h=9cd5f9b1bfac70611d0aefaa7ae033c73aae7965;hb=996bdaa457f04f8b65b4018193ace54ccec953c1;hp=72e4f5e3bdc32020bc1b6321cae6b820221d6228;hpb=30010f33fc5581e35ca9486ff6e0ccb1270239d1;p=vchess.git diff --git a/client/src/components/ComputerGame.vue b/client/src/components/ComputerGame.vue index 72e4f5e3..9cd5f9b1 100644 --- a/client/src/components/ComputerGame.vue +++ b/client/src/components/ComputerGame.vue @@ -61,7 +61,7 @@ export default { methods: { launchGame: function(game) { this.compWorker.postMessage(["scripts", this.gameInfo.vname]); - if (!game || !V.IsGoodFen(game.fen)) { + if (!game) { game = { vname: this.gameInfo.vname, fenStart: V.GenRandInitFen(this.st.settings.randomness),