From fcf198b21f4fdf6f3b2a5db657816e1d0f3e8d7d Mon Sep 17 00:00:00 2001 From: 404 <6438652+l-404-l@users.noreply.github.com> Date: Thu, 2 May 2024 01:06:12 -0500 Subject: [PATCH] fix(timer): add async argument to restart method (#567) --- imports/timer/shared.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imports/timer/shared.lua b/imports/timer/shared.lua index 3f55953..04dbfb2 100644 --- a/imports/timer/shared.lua +++ b/imports/timer/shared.lua @@ -98,12 +98,12 @@ function timer:isPaused() return self.private.paused end -function timer:restart() +function timer:restart(async) self:forceEnd(false) Wait(0) self.private.currentTimeLeft = self.private.initialTime self.private.startTime = 0 - self:start() + self:start(async) end function timer:getTimeLeft(format)