diff --git a/src/services/rngService.ts b/src/services/rngService.ts index 66b6478d..876d7584 100644 --- a/src/services/rngService.ts +++ b/src/services/rngService.ts @@ -159,7 +159,7 @@ export class SRng { } } -export const sequentallyUniqueRandomElement = ( +export const sequentiallyUniqueRandomElement = ( deck: readonly T[], idx: number, lookbehind: number, diff --git a/src/services/worldStateService.ts b/src/services/worldStateService.ts index 9e0e24ef..423bd776 100644 --- a/src/services/worldStateService.ts +++ b/src/services/worldStateService.ts @@ -9,7 +9,7 @@ import darvoDeals from "@/static/fixed_responses/worldState/darvoDeals.json"; import { buildConfig } from "@/src/services/buildConfigService"; import { unixTimesInMs } from "@/src/constants/timeConstants"; import { config } from "@/src/services/configService"; -import { getRandomElement, getRandomInt, sequentallyUniqueRandomElement, SRng } from "@/src/services/rngService"; +import { getRandomElement, getRandomInt, sequentiallyUniqueRandomElement, SRng } from "@/src/services/rngService"; import { eMissionType, ExportRegions, ExportSyndicates, IRegion } from "warframe-public-export-plus"; import { ICalendarDay, @@ -390,7 +390,7 @@ const getSeasonDailyChallenge = (pools: IRotatingSeasonChallengePools, day: numb Daily: true, Activation: { $date: { $numberLong: dayStart.toString() } }, Expiry: { $date: { $numberLong: dayEnd.toString() } }, - Challenge: sequentallyUniqueRandomElement(pools.daily, day, 2, 605732938)! + Challenge: sequentiallyUniqueRandomElement(pools.daily, day, 2, 605732938)! }; };