diff --git a/QuickStackToBag/Lua/Autorun/init.lua b/QuickStackToBag/Lua/Autorun/init.lua index fee956a..47e0281 100644 --- a/QuickStackToBag/Lua/Autorun/init.lua +++ b/QuickStackToBag/Lua/Autorun/init.lua @@ -96,7 +96,7 @@ end, Hook.HookMethodType.After) local throttle = 0.1 local throttleTimer = 0 Hook.Patch("Barotrauma.Character", "ControlLocalPlayer", function(instance, ptable) - if PlayerInput.IsShiftDown() and PlayerInput.SecondaryMouseButtonClicked() then + if PlayerInput.Mouse4ButtonClicked() then cursormacroer.setTargetInventory() end if not PlayerInput.IsAltDown() then return end