faction description bug fix.
The first words before a space was not displayed in the description.
This commit is contained in:
parent
6455736ad8
commit
146df88de2
@ -375,14 +375,15 @@ factions.register_command("open", {
|
|||||||
},false)
|
},false)
|
||||||
|
|
||||||
factions.register_command("description", {
|
factions.register_command("description", {
|
||||||
|
format = {"string"},
|
||||||
faction_permissions = {"description"},
|
faction_permissions = {"description"},
|
||||||
description = "Set your faction's description",
|
description = "Set your faction's description",
|
||||||
global_privileges = def_global_privileges,
|
global_privileges = def_global_privileges,
|
||||||
on_success = function(player, faction, pos, parcelpos, args)
|
on_success = function(player, faction, pos, parcelpos, args)
|
||||||
faction:set_description(table.concat(args.other," "))
|
faction:set_description(table.concat(args.strings," "))
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
},false)
|
},true)
|
||||||
|
|
||||||
factions.register_command("invite", {
|
factions.register_command("invite", {
|
||||||
format = {"player"},
|
format = {"player"},
|
||||||
|
Loading…
Reference in New Issue
Block a user