add 'network' permission

This commit is contained in:
MihailRis 2025-12-07 01:26:48 +03:00
parent 7eeac66abf
commit 0af072a129
10 changed files with 67 additions and 27 deletions

View file

@ -182,6 +182,9 @@ local function clean(iterable, checkFun, ...)
end
network.__process_events = function()
if not network.is_available() then
return
end
local CLIENT_CONNECTED = 1
local CONNECTED_TO_SERVER = 2
local DATAGRAM = 3