Skip to content

Commit

Permalink
Fixed dropped packets still being recieved
Browse files Browse the repository at this point in the history
  • Loading branch information
1Axen committed Sep 21, 2024
1 parent 11520e8 commit 4b0a088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Generator/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,8 @@ function Declarations.Function(Declaration: Parser.FunctionDeclaration)
local Exhaust = Blocks.Block()
:Compare("Calls[InvocationIdentifier]", "nil", "Not")
--> Fail instead of closing/cancelling the thread
:Line("task.spawn(Calls[InvocationIdentifier], false)")
:Line("warn(debug.traceback(\"More than 256 calls are awaiting a response, a previous call has been dropped.\"))")
:Line("Invocations -= 1")
:Line("error(\"More than 256 calls are awaiting a response, this packet has been dropped.\")")
:End()
.Content

Expand Down

0 comments on commit 4b0a088

Please sign in to comment.