Skip to content

Commit

Permalink
Merge pull request #29 from RyanLua/equip-tool-patch
Browse files Browse the repository at this point in the history
Update EquipNewTool behavior
  • Loading branch information
RyanLua authored Dec 14, 2023
2 parents 78f1b9e + 43a42b6 commit 14f6794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Satchel/SatchelScript.lua
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ end

local function EquipNewTool(tool: Tool): () --NOTE: HopperBin
UnequipAllTools()
--Humanoid:EquipTool(tool) --NOTE: This would also unequip current Tool
tool.Parent = Character --TODO: Switch back to above line after EquipTool is fixed!
Humanoid:EquipTool(tool) --NOTE: This would also unequip current Tool
--tool.Parent = Character --TODO: Switch back to above line after EquipTool is fixed!
end

local function IsEquipped(tool: Tool): boolean
Expand Down

0 comments on commit 14f6794

Please sign in to comment.