Update StarMerchantInterface.cpp

This commit is contained in:
SilverSokolova 2024-12-18 02:42:16 -06:00 committed by GitHub
parent ee918cb476
commit 28a8b54f43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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*) {