Set seed when generating interests into events
Prevent adding accounts from changing who's interestin in what in the generated demo schedule.
This commit is contained in:
parent
6c4107a1cb
commit
ddecfa3805
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,7 @@ export function generateDemoAccounts(): Account[] {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
seed = 1;
|
||||||
// These have a much higher probability of being in someone's interested list.
|
// These have a much higher probability of being in someone's interested list.
|
||||||
const desiredEvent = ["opening", "closing", "fursuit-games"];
|
const desiredEvent = ["opening", "closing", "fursuit-games"];
|
||||||
const nonCrewEvents = events.filter(event => !event.crew);
|
const nonCrewEvents = events.filter(event => !event.crew);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue