Skip to content

Commit

Permalink
Update AuctionHouseBotConfig.cpp
Browse files Browse the repository at this point in the history
Fix Bug: wrong variable read from the config #123 from azerothcore / mod-ah-bot

#123

Fix copy paste typo when reading config for ElapsingTimeClass
  • Loading branch information
Jaytapp committed Jan 17, 2025
1 parent edb626a commit 610bb28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AuctionHouseBotConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,7 @@ void AHBConfig::InitializeFromFile()
MarketResetThreshold = sConfigMgr->GetOption<uint32>("AuctionHouseBot.MarketResetThreshold" , 25);
DuplicatesCount = sConfigMgr->GetOption<uint32>("AuctionHouseBot.DuplicatesCount" , 0);
DivisibleStacks = sConfigMgr->GetOption<bool> ("AuctionHouseBot.DivisibleStacks" , false);
ElapsingTimeClass = sConfigMgr->GetOption<uint32>("AuctionHouseBot.DuplicatesCount" , 1);
ElapsingTimeClass = sConfigMgr->GetOption<uint32>("AuctionHouseBot.ElapsingTimeClass" , 1);
ConsiderOnlyBotAuctions = sConfigMgr->GetOption<bool> ("AuctionHouseBot.ConsiderOnlyBotAuctions", false);
ItemsPerCycle = sConfigMgr->GetOption<uint32>("AuctionHouseBot.ItemsPerCycle" , 200);

Expand Down

0 comments on commit 610bb28

Please sign in to comment.