AdvDupe2 fix

This commit is contained in:
Aaron 2015-03-14 12:36:47 -05:00
parent 9808458332
commit d3068915ec

View File

@ -111,7 +111,7 @@ timer.Simple(0.1, function()
-- Advanced Duplicator 2 (http://facepunch.com/showthread.php?t=1136597)
if AdvDupe2 then
hook.Add("PlayerSpawnEntity", "URSCheckRestrictedEntity", function(ply, EntTable)
if URSCheck(ply, "advdupe", EntTable.Class) == false or URS.Check(ply, "advdupe", EntTable.Model) == false then
if URS.Check(ply, "advdupe", EntTable.Class) == false or URS.Check(ply, "advdupe", EntTable.Model) == false then
return false
end
end)