faction description bug fix.

The first words before a space was not displayed in the description.
This commit is contained in:
Coder12a 2018-10-27 22:29:02 -05:00
parent 6455736ad8
commit 146df88de2

View File

@ -375,14 +375,15 @@ factions.register_command("open", {
},false)
factions.register_command("description", {
format = {"string"},
faction_permissions = {"description"},
description = "Set your faction's description",
global_privileges = def_global_privileges,
on_success = function(player, faction, pos, parcelpos, args)
faction:set_description(table.concat(args.other," "))
faction:set_description(table.concat(args.strings," "))
return true
end
},false)
},true)
factions.register_command("invite", {
format = {"player"},