Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarMerchantInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarMerchantInterface.cpp')
-rw-r--r--source/frontend/StarMerchantInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarMerchantInterface.cpp b/source/frontend/StarMerchantInterface.cpp
index 7acd234..196dba1 100644
--- a/source/frontend/StarMerchantInterface.cpp
+++ b/source/frontend/StarMerchantInterface.cpp
@@ -38,7 +38,7 @@ MerchantPane::MerchantPane(
m_itemBag = make_shared<ItemBag>(m_settings.getUInt("sellContainerSize"));
- m_maxBuyCount = assets->json("/interface/windowconfig/crafting.config:default").getUInt("maxSpinCount", 1000);
+ m_maxBuyCount = m_settings.getUInt("maxSpinCount", assets->json("/interface/windowconfig/crafting.config:default").getUInt("maxSpinCount", 1000));
GuiReader reader;
reader.registerCallback("spinCount.up", [=](Widget*) {