mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
table.size -> table_size
This commit is contained in:
parent
cb3c9ba1d0
commit
fcbae24ff0
@ -1,7 +1,6 @@
|
||||
require 'utils.table'
|
||||
|
||||
local insert = table.insert
|
||||
local size = table.size
|
||||
local format = string.format
|
||||
local next = next
|
||||
local serialize = serpent.line
|
||||
@ -68,7 +67,7 @@ function Command.add(command_name, options, callback)
|
||||
local allowed_by_server = options.allowed_by_server or false
|
||||
local allowed_by_player = options.allowed_by_player
|
||||
local log_command = options.log_command or options.admin_only or false
|
||||
local argument_list_size = size(arguments)
|
||||
local argument_list_size = table_size(arguments)
|
||||
local argument_list = ''
|
||||
|
||||
assert_existing_options(command_name, options)
|
||||
|
Loading…
Reference in New Issue
Block a user