mirror of
https://github.com/wiremod/advdupe2.git
synced 2025-03-04 03:03:05 -05:00
Make sure ply.AdvDupe2 exists
This commit is contained in:
parent
9018718b3d
commit
f45c5137a3
@ -110,7 +110,8 @@ function AdvDupe2.LoadDupe(ply,success,dupe,info,moreinfo)
|
||||
end
|
||||
|
||||
local function AdvDupe2_ReceiveFile(len, ply)
|
||||
if(not IsValid(ply))then return end
|
||||
if not IsValid(ply) then return end
|
||||
if not ply.AdvDupe2 then ply.AdvDupe2 = {} end
|
||||
|
||||
local name = net.ReadString()
|
||||
local _1, _2, _3 = string.find(name, "([%w_]+)")
|
||||
|
Loading…
Reference in New Issue
Block a user