mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 21:17: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
|
||||
local id = net.ReadUInt(8)
|
||||
local data = util.JSONToTable(net.ReadString() || "{}")
|
||||
|
||||
// check if argument is valid
|
||||
if netFuncs[id] then
|
||||
netFuncs[id](ply, data)
|
||||
|
|
Loading…
Reference in New Issue
Block a user