Changed table.Count to #

Made this change to the recent update for better performance.
This commit is contained in:
zpetty33 2015-07-30 14:32:47 -07:00
parent 718877470d
commit a68a187213

View File

@ -1306,7 +1306,7 @@ if SERVER then
end
local function hookRoute( ply, command, argv )
if table.Count(argv) > 0 then
if #argv > 0 then
concommand.Run( ply, table.remove( argv, 1 ), argv )
end
end