Add files via upload

This commit is contained in:
George King authored and GitHub committed 2025-03-17 20:21:22 +01:00
1 parent af5f68128c
commit a6ba2f97e0
1 file changed
+2 -2
+2 -2
View File
@@ -92,10 +92,10 @@ CCampaignScreen::CCampaignScreen(const JsonNode& config, std::string name)
maxPages = (campaigns.size() + campaignsPerPage - 1) / campaignsPerPage;
buttonNext = std::make_shared<CButton>(Point(340, 560), AnimationPath::builtin("campaigns/next"), "", [this, name]() { switchPage(1, name); });
buttonNext = std::make_shared<CButton>(Point(340, 560), AnimationPath::builtin("campaigns/next"), std::make_pair("", ""), [this, name]() { switchPage(1, name); });
buttonNext->disable();
buttonPrev = std::make_shared<CButton>(Point(275, 560), AnimationPath::builtin("campaigns/back"), "", [this, name]() { switchPage(-1, name); });
buttonPrev = std::make_shared<CButton>(Point(275, 560), AnimationPath::builtin("campaigns/back"), std::make_pair("", ""), [this, name]() { switchPage(-1, name); });
buttonPrev->disable();