From 5c0337ebaeb49f577652b987e846b5f6265d2777 Mon Sep 17 00:00:00 2001 From: Aviril <103286142+Anisa-Nur@users.noreply.github.com> Date: Wed, 15 Jun 2022 17:31:56 +0300 Subject: [PATCH] Update threader.lua --- [Library]/assetify_library/utilities/threader.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/[Library]/assetify_library/utilities/threader.lua b/[Library]/assetify_library/utilities/threader.lua index 78e2bb547..46fcec687 100644 --- a/[Library]/assetify_library/utilities/threader.lua +++ b/[Library]/assetify_library/utilities/threader.lua @@ -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()