Skip to content

Commit 943ed8a

Browse files
committed
And, of course, the inevitable fix.
1 parent 59d2e61 commit 943ed8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/games/biscuit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ export class BiscuitGame extends GameBase {
12131213

12141214
// eslint-disable-next-line @typescript-eslint/no-unused-vars
12151215
public serialize(opts?: {strip?: boolean, player?: number}): string {
1216-
const json = JSON.stringify(this.state(), replacer);
1216+
const json = JSON.stringify(this.state(opts), replacer);
12171217
const compressed = pako.gzip(json);
12181218

12191219
return Buffer.from(compressed).toString("base64") as string;

0 commit comments

Comments
 (0)