Skip to content

Commit

Permalink
Update threader.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
ov-anisa committed Jun 15, 2022
1 parent 33be7cb commit 5c0337e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions [Library]/assetify_library/utilities/threader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ function thread:sleep(duration)
if self.timer and imports.isTimer(self.timer) then return false end
self.isAwaiting = "sleep"
self.timer = imports.setTimer(function()
self.isAwaiting = nil
self:resume()
end, duration, 1)
self:pause()
Expand Down

0 comments on commit 5c0337e

Please sign in to comment.