From 1c68f52b28c63fad878d7f81ffb362478368a972 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 30 Mar 2025 17:11:45 +0200 Subject: [PATCH] Make mark inventory on mouse4 --- QuickStackToBag/Lua/Autorun/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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