fixed remove error

git-svn-id: http://gmodcapsadmin.googlecode.com/svn/trunk/addons/pac3@16 047d434e-d786-fb00-e516-99c5e643cd71
This commit is contained in:
CapsAdmin 2012-05-30 10:52:42 +00:00
parent 37bd0b3b90
commit 4651446e3e

View File

@ -203,8 +203,8 @@ function pace.OnPartMenu(obj)
end)
menu:AddOption("remove", function()
obj:Remove()
pac.RemoveSubmittedPart(obj:GetPlayerOwner(), obj:GetOwner(), obj:GetName())
obj:Remove()
pace.RefreshTree()
end)