Resolve comments

This commit is contained in:
Supergoat666 2020-08-25 02:26:30 +02:00
parent aced077da7
commit 33ce6b25a4
1 changed files with 2 additions and 4 deletions

View File

@ -289,10 +289,8 @@ if areas.factions_available then
params = S("<ID> [faction_name]"),
description = S("Toggle an area open/closed for members in your faction."),
func = function(name, param)
local params = {}
for p in string.gmatch(param, "[^%s]+") do
table.insert(params, p)
end
params = param:split(" ")
local id = tonumber(params[1])
if not id then