We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa106bb commit 99c57fbCopy full SHA for 99c57fb
src/games/cifra.ts
@@ -753,7 +753,7 @@ export class CifraGame extends GameBase {
753
};
754
if (opts !== undefined && opts.strip) {
755
// only strip if we're still in the setup window
756
- if (state.stack.length === 3 && opts.player !== 2) {
+ if ( (this.variants.includes("sum") || this.variants.includes("king")) && (state.stack.length === 3 && opts.player !== 2) ) {
757
state.stack[2]._results = [];
758
state.stack[2].lastmove = "?";
759
state.stack[2].board.clear();
0 commit comments