forked from TeamUlysses/ulib
Changed table.Count to #
Made this change to the recent update for better performance.
This commit is contained in:
parent
718877470d
commit
a68a187213
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user