mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-09-16 09:16:22 +02:00
table.size -> table_size
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user