mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-16 03:07:34 +00:00
fix typo
This commit is contained in:
parent
34f4128874
commit
c66bfd9143
|
@ -14,6 +14,7 @@ net.Receive("gmIntegration", function(len, ply)
|
||||||
if !ply:IsPlayer() then return end
|
if !ply:IsPlayer() then return end
|
||||||
local id = net.ReadUInt(8)
|
local id = net.ReadUInt(8)
|
||||||
local data = util.JSONToTable(net.ReadString() || "{}")
|
local data = util.JSONToTable(net.ReadString() || "{}")
|
||||||
|
|
||||||
// check if argument is valid
|
// check if argument is valid
|
||||||
if netFuncs[id] then
|
if netFuncs[id] then
|
||||||
netFuncs[id](ply, data)
|
netFuncs[id](ply, data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user