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 39983c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sim/battle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ export class Battle {

this.send = options.send || (() => {});

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

0 comments on commit 39983c5

Please sign in to comment.