Skip to content

Commit

Permalink
set memory
Browse files Browse the repository at this point in the history
  • Loading branch information
imezx committed Apr 12, 2024
1 parent 8fd9573 commit 4cd0f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Index/Client/ClientProcess/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function ClientProcess.removeCallback(Identifier: string, key: string)
end

function ClientProcess.start()
debug.setmemorycategory("Warp")
RunService.PostSimulation:Connect(function()
for Identifier: string, data: any in unreliableClientQueue do
if #data == 0 then continue end
Expand Down
1 change: 1 addition & 0 deletions src/Index/Server/ServerProcess/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ function ServerProcess.removeCallback(Identifier: string, key: string)
end

function ServerProcess.start()
debug.setmemorycategory("Warp")
RunService.PostSimulation:Connect(function()
for Identifier: string, players in unreliableServerQueue do
for player: Player, data: any in players do
Expand Down

0 comments on commit 4cd0f3f

Please sign in to comment.