Make mark inventory on mouse4

This commit is contained in:
2025-03-30 17:11:45 +02:00
parent 16c8b983fb
commit 1c68f52b28

View File

@@ -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