diff --git a/client/widgets/MiscWidgets.cpp b/client/widgets/MiscWidgets.cpp index 0a3b79ea3..0e6f7d68e 100644 --- a/client/widgets/MiscWidgets.cpp +++ b/client/widgets/MiscWidgets.cpp @@ -447,7 +447,7 @@ void CInteractableTownTooltip::init(const CGTownInstance * town) std::make_shared(town)->enterToTheQuickRecruitmentWindow(); } }); - fastMarket = std::make_shared(Rect(143, 31, 30, 34), [townId]() + fastMarket = std::make_shared(Rect(143, 31, 30, 34), []() { std::vector towns = LOCPLINT->cb->getTownsInfo(true); for(auto & town : towns)