mirror of
https://github.com/imezx/Warp.git
synced 2025-04-24 15:10:03 +00:00
Update init.luau
This commit is contained in:
parent
87e2a8d0ec
commit
6316cb0724
1 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ function ServerProcess.insertRequest(Identifier: string, timeout: number, player
|
||||||
local cancel = task.delay(timeout, function()
|
local cancel = task.delay(timeout, function()
|
||||||
task.spawn(yieldThread, nil)
|
task.spawn(yieldThread, nil)
|
||||||
end)
|
end)
|
||||||
table.insert(serverRequestQueue[Identifier][player], { tostring(Key()), function(...: any)
|
table.insert(serverRequestQueue[Identifier][player], { Key(), function(...: any)
|
||||||
if (os.clock() - start) > timeout then return end
|
if (os.clock() - start) > timeout then return end
|
||||||
task.cancel(cancel)
|
task.cancel(cancel)
|
||||||
task.spawn(yieldThread, ...)
|
task.spawn(yieldThread, ...)
|
||||||
|
|
Loading…
Reference in a new issue