refactor!: Modify command argument handling and move on_
method to bool_command (#1826)
This commit is contained in:
@ -18,7 +18,7 @@ namespace lua::command
|
||||
// Call a menu command.
|
||||
static void call(const std::string& command_name, std::optional<sol::table> _args)
|
||||
{
|
||||
const auto args = convert_sequence<uint64_t>(_args.value_or(sol::table()));
|
||||
big::command_arguments args = convert_sequence<uint64_t>(_args.value_or(sol::table()));
|
||||
|
||||
const auto command = big::command::get(rage::joaat(command_name));
|
||||
|
||||
|
Reference in New Issue
Block a user