Merge pull request #62 from thegrb93/limit_fix

Don't stop duping if a limit gets hit
This commit is contained in:
thegrb93 2018-11-19 23:24:45 -05:00 committed by GitHub
commit 1b6dad3c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -985,8 +985,8 @@ function AdvDupe2.duplicator.Paste( Player, EntityList, ConstraintList, Position
Ent:SetNotSolid(true)
elseif(Ent==false)then
Ent = nil
ConstraintList = {}
break
--ConstraintList = {}
--break
else
Ent = nil
end
@ -1139,10 +1139,6 @@ local function AdvDupe2_Spawn()
if(Ent.OnDuplicated)then Ent:OnDuplicated(v) end
elseif(Ent==false)then
Ent = nil
Queue.Entity = false
Queue.Constraint = true
Queue.Current = 1
Queue.ConstraintList = {}
else
Ent = nil
end