Skip to content

Commit

Permalink
fix client CallAsync bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdotink committed Dec 5, 2023
1 parent 2652844 commit e864f82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Net/Client.luau
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e864f82

Please sign in to comment.