Make mark inventory on mouse4
This commit is contained in:
@@ -96,7 +96,7 @@ end, Hook.HookMethodType.After)
|
|||||||
local throttle = 0.1
|
local throttle = 0.1
|
||||||
local throttleTimer = 0
|
local throttleTimer = 0
|
||||||
Hook.Patch("Barotrauma.Character", "ControlLocalPlayer", function(instance, ptable)
|
Hook.Patch("Barotrauma.Character", "ControlLocalPlayer", function(instance, ptable)
|
||||||
if PlayerInput.IsShiftDown() and PlayerInput.SecondaryMouseButtonClicked() then
|
if PlayerInput.Mouse4ButtonClicked() then
|
||||||
cursormacroer.setTargetInventory()
|
cursormacroer.setTargetInventory()
|
||||||
end
|
end
|
||||||
if not PlayerInput.IsAltDown() then return end
|
if not PlayerInput.IsAltDown() then return end
|
||||||
|
Reference in New Issue
Block a user