From e864f82cc19dbb948be09f1bdf5b8f7eb732d243 Mon Sep 17 00:00:00 2001 From: jackdotink Date: Mon, 4 Dec 2023 19:20:14 -0600 Subject: [PATCH] fix client CallAsync bug --- lib/Net/Client.luau | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Net/Client.luau b/lib/Net/Client.luau index 5d22c33..c5e2cab 100644 --- a/lib/Net/Client.luau +++ b/lib/Net/Client.luau @@ -67,6 +67,7 @@ local function Start() local CallThread = CallMap[CallId] if CallThread then + CallMap[CallId] = nil coroutine.resume(CallThread, table.unpack(CallList)) end end @@ -91,7 +92,7 @@ local function Start() local CallThread = CallMap[CallId] if CallThread then - coroutine.resume(CallThread, table.unpack(CallList)) + coroutine.resume(CallThread, CallList) CallMap[CallId] = nil end end