forked from mtcontrib/factions
Fix: line 978 had a typo
new factions are neutral with everyone.
This commit is contained in:
@ -645,8 +645,8 @@ if factions_config.faction_diplomacy == true then
|
||||
faction:end_neutral(args.strings[1])
|
||||
factions.factions[args.strings[1]]:end_neutral(faction.name)
|
||||
end
|
||||
faction:new_enemy(args.strings[1])
|
||||
factions.factions[args.strings[1]]:new_enemy(faction.name)
|
||||
faction:new_neutral(args.strings[1])
|
||||
factions.factions[args.strings[1]]:new_neutral(faction.name)
|
||||
factions.bulk_save()
|
||||
else
|
||||
send_error(player, "You are already at war.")
|
||||
@ -975,7 +975,7 @@ factions.register_command("set_rank_name", {
|
||||
faction:set_rank_name(rank, newrank)
|
||||
return true
|
||||
end
|
||||
},falsw)
|
||||
},false)
|
||||
|
||||
factions.register_command("del_rank", {
|
||||
description = "Replace and delete a rank.",
|
||||
|
Reference in New Issue
Block a user