This commit is contained in:
Xerasin 2022-06-10 13:14:17 -07:00
parent 1f61b8a622
commit 42a23dfc1a

View File

@ -291,7 +291,8 @@ if SERVER then
end
}
net.Receive("wowozela", function(len, ply)
netFuncs[net.ReadInt(4)](len, ply)
local func = netFuncs[net.ReadInt(4)]
if func then func(len, ply) end
end)
else
local function update_sample(ply, i, v)
@ -366,7 +367,8 @@ else
end,
}
net.Receive("wowozela", function()
netFuncs[net.ReadInt(4)]()
local func = netFuncs[net.ReadInt(4)]
if func then func() end
end)
end