Disable autoloot
This commit is contained in:
@@ -150,10 +150,10 @@ Hook.Patch("Barotrauma.Character", "ControlLocalPlayer", function(instance, ptab
|
|||||||
quickreload.tryReloadCursorItem(PlayerInput.IsShiftDown())
|
quickreload.tryReloadCursorItem(PlayerInput.IsShiftDown())
|
||||||
end, Hook.HookMethodType.After)
|
end, Hook.HookMethodType.After)
|
||||||
|
|
||||||
Hook.Patch("Barotrauma.Character", "ControlLocalPlayer", function(instance, ptable)
|
-- Hook.Patch("Barotrauma.Character", "ControlLocalPlayer", function(instance, ptable)
|
||||||
if not PlayerInput.KeyHit(MyModGlobal.CONFIG.LOOT) then return end
|
-- if not PlayerInput.KeyHit(MyModGlobal.CONFIG.LOOT) then return end
|
||||||
quickloot.tryLoot()
|
-- quickloot.tryLoot()
|
||||||
end, Hook.HookMethodType.After)
|
-- end, Hook.HookMethodType.After)
|
||||||
|
|
||||||
Hook.Patch("Barotrauma.Character", "ControlLocalPlayer", function(instance, ptable)
|
Hook.Patch("Barotrauma.Character", "ControlLocalPlayer", function(instance, ptable)
|
||||||
if not PlayerInput.KeyHit(MyModGlobal.CONFIG.SONAR) then return end
|
if not PlayerInput.KeyHit(MyModGlobal.CONFIG.SONAR) then return end
|
||||||
|
|||||||
Reference in New Issue
Block a user