Skip to content

Commit

Permalink
Fix for StyleLua
Browse files Browse the repository at this point in the history
  • Loading branch information
Amero-EOF authored Sep 25, 2024
1 parent 40d7f83 commit 5a82a19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/trove/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,9 @@ function Trove.BindToRenderStep(self: TroveInternal, name: string, priority: num
end

RunService:BindToRenderStep(name, priority, fn)

local destructor = function()
RunService:UnbindFromRenderStep(name)
end

self:Add(destructor)
return destructor
end
Expand Down

0 comments on commit 5a82a19

Please sign in to comment.