From 08832eeeb4389a0a1a5d5bf80c37dc28b5e8df1e Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Fri, 13 Oct 2023 01:49:02 +0200 Subject: [PATCH] fix --- client/widgets/MiscWidgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)