Fix run interval seconds

This commit is contained in:
Platinum 2024-04-03 19:36:21 +11:00
parent cc06f69961
commit 4d4a625292
2 changed files with 2 additions and 2 deletions

View File

@ -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. // 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, "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, "runIntervalSecondsOverride": 3,
// When config.enableScarceOffers is true, use these values to limit the number of offers on the flea. // When config.enableScarceOffers is true, use these values to limit the number of offers on the flea.

View File

@ -124,7 +124,7 @@ class TheBlacklistMod implements IPostDBLoadModAsync {
} }
if (this.config.enableFasterSales && !isNaN(this.advancedConfig.runIntervalSecondsOverride)) { if (this.config.enableFasterSales && !isNaN(this.advancedConfig.runIntervalSecondsOverride)) {
ragfairConfig.runIntervalSeconds = this.advancedConfig.runIntervalSecondsOverride; ragfairConfig.runIntervalValues.outOfRaid = this.advancedConfig.runIntervalSecondsOverride;
} }
if (this.config.enableScarceOffers) { if (this.config.enableScarceOffers) {