We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59d2e61 commit 943ed8aCopy full SHA for 943ed8a
src/games/biscuit.ts
@@ -1213,7 +1213,7 @@ export class BiscuitGame extends GameBase {
1213
1214
// eslint-disable-next-line @typescript-eslint/no-unused-vars
1215
public serialize(opts?: {strip?: boolean, player?: number}): string {
1216
- const json = JSON.stringify(this.state(), replacer);
+ const json = JSON.stringify(this.state(opts), replacer);
1217
const compressed = pako.gzip(json);
1218
1219
return Buffer.from(compressed).toString("base64") as string;
0 commit comments