From d0ee63c76666456f82258e49ce93f6066821b033 Mon Sep 17 00:00:00 2001 From: gamefreq0 <42497703+gamefreq0@users.noreply.github.com> Date: Thu, 24 Aug 2023 01:00:54 -0400 Subject: [PATCH] Enable shift-click crafting (#13729) --- src/gui/guiFormSpecMenu.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gui/guiFormSpecMenu.cpp b/src/gui/guiFormSpecMenu.cpp index f15f39582..5ab000d6b 100644 --- a/src/gui/guiFormSpecMenu.cpp +++ b/src/gui/guiFormSpecMenu.cpp @@ -4312,10 +4312,7 @@ bool GUIFormSpecMenu::OnEvent(const SEvent& event) if (button == BET_MIDDLE) craft_amount = 10; else if (event.MouseInput.Shift && button == BET_LEFT) - // TODO: We should craft everything with shift-left-click, - // but the slow crafting code limits us, so we only craft one - craft_amount = 1; - //craft_amount = list_s->getItem(s.i).getStackMax(m_client->idef()); + craft_amount = list_s->getItem(s.i).getStackMax(m_client->idef()); else craft_amount = 1;