Skip to content

Commit

Permalink
Enable GetStateChangedEvent() method
Browse files Browse the repository at this point in the history
Signed-off-by: RyanLua <[email protected]>
  • Loading branch information
RyanLua committed Jul 17, 2023
1 parent 6e15715 commit 4dbe5d9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/Satchel/SatchelScript/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2049,11 +2049,9 @@ function BackpackScript:GetBackpackEnabled(): boolean
return BackpackEnabled
end

-- Broken for now
--
-- function BackpackScript:GetStateChangedEvent(): RBXScriptSignal
-- return Backpack.StateChanged
-- end
function BackpackScript:GetStateChangedEvent(): RBXScriptSignal
return Backpack.StateChanged
end

RunService.Heartbeat:Connect(function(): ()
OnIconChanged(BackpackEnabled)
Expand Down

0 comments on commit 4dbe5d9

Please sign in to comment.