From 4d4a62529222994157dd86705065578e13d28d3d Mon Sep 17 00:00:00 2001 From: Platinum Date: Wed, 3 Apr 2024 19:36:21 +1100 Subject: [PATCH] Fix run interval seconds --- advancedConfig.jsonc | 2 +- src/mod.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/advancedConfig.jsonc b/advancedConfig.jsonc index 0562793..9885d38 100644 --- a/advancedConfig.jsonc +++ b/advancedConfig.jsonc @@ -24,7 +24,7 @@ // When an item doesn't have a flea price because it was blacklisted by default, multiply the handbook price by this number to get the new flea price. Default 3. "handbookPriceMultiplier": 3, - // Overrides ragfairConfig.runIntervalSeconds if config.enableFasterSales is true. Default 3s. + // Overrides ragfairConfig.runIntervalValues.outOfRaid if config.enableFasterSales is true. Default 3s. "runIntervalSecondsOverride": 3, // When config.enableScarceOffers is true, use these values to limit the number of offers on the flea. diff --git a/src/mod.ts b/src/mod.ts index af4efa1..c45c668 100644 --- a/src/mod.ts +++ b/src/mod.ts @@ -124,7 +124,7 @@ class TheBlacklistMod implements IPostDBLoadModAsync { } if (this.config.enableFasterSales && !isNaN(this.advancedConfig.runIntervalSecondsOverride)) { - ragfairConfig.runIntervalSeconds = this.advancedConfig.runIntervalSecondsOverride; + ragfairConfig.runIntervalValues.outOfRaid = this.advancedConfig.runIntervalSecondsOverride; } if (this.config.enableScarceOffers) {