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

summaryrefslogtreecommitdiff
path: root/source/frontend
diff options
context:
space:
mode:
authorSilverSokolova <80606782+SilverSokolova@users.noreply.github.com>2024-12-18 02:42:16 -0600
committerGitHub <noreply@github.com>2024-12-18 02:42:16 -0600
commit28a8b54f43f10fde8c09f6efe91d1c1b3b09d5d4 (patch)
tree76d098e9f597ee71f1c2779ad90b5f1960c854df /source/frontend
parentee918cb476391add2121c32ba5b294cdeaafa6dd (diff)
Update StarMerchantInterface.cpp
Diffstat (limited to 'source/frontend')
-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*) {