set memory

This commit is contained in:
EternityDev 2024-04-12 19:15:22 +07:00
parent 8fd9573b8a
commit 4cd0f3f2cf
2 changed files with 2 additions and 0 deletions

View file

@ -136,6 +136,7 @@ function ClientProcess.removeCallback(Identifier: string, key: string)
end end
function ClientProcess.start() function ClientProcess.start()
debug.setmemorycategory("Warp")
RunService.PostSimulation:Connect(function() RunService.PostSimulation:Connect(function()
for Identifier: string, data: any in unreliableClientQueue do for Identifier: string, data: any in unreliableClientQueue do
if #data == 0 then continue end if #data == 0 then continue end

View file

@ -178,6 +178,7 @@ function ServerProcess.removeCallback(Identifier: string, key: string)
end end
function ServerProcess.start() function ServerProcess.start()
debug.setmemorycategory("Warp")
RunService.PostSimulation:Connect(function() RunService.PostSimulation:Connect(function()
for Identifier: string, players in unreliableServerQueue do for Identifier: string, players in unreliableServerQueue do
for player: Player, data: any in players do for player: Player, data: any in players do