Merge pull request #261 from thegrb93/fix-ply-table

Fix lua error
This commit is contained in:
Sparky 2019-11-18 23:05:36 -05:00 committed by GitHub
commit 9018718b3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -334,7 +334,8 @@ if(SERVER)then
function TOOL:Deploy()
local ply = self:GetOwner()
if(not ply.AdvDupe2.Entities)then return end
if not ply.AdvDupe2 then ply.AdvDupe2 = {} end
if not ply.AdvDupe2.Entities then return end
umsg.Start("AdvDupe2_StartGhosting", ply)
umsg.End()