Skip to content

Commit

Permalink
Fix exportinputlog
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Jan 10, 2025
1 parent 808d520 commit b9ee0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/battle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export class Battle {
this.send = options.send || (() => {});

const inputOptions: {formatid: ID, seed: PRNGSeed | Buffer, rated?: string | true} = {
formatid: options.formatid, seed: this.prng.seed,
formatid: options.formatid, seed: this.prng.startingSeed,
};
if (this.rated) inputOptions.rated = this.rated;
if (typeof __version !== 'undefined') {
Expand Down

0 comments on commit b9ee0a2

Please sign in to comment.