forked from mtcontrib/factions
Safe fail.
This commit is contained in:
parent
235d91368f
commit
3da45376c2
@ -982,6 +982,11 @@ function factions.convert(filename)
|
|||||||
if faction.ranks then
|
if faction.ranks then
|
||||||
newfac.ranks = faction.ranks
|
newfac.ranks = faction.ranks
|
||||||
end
|
end
|
||||||
|
if faction.rankless then
|
||||||
|
newfac.rankless = faction.rankless
|
||||||
|
else
|
||||||
|
newfac.rankless = false
|
||||||
|
end
|
||||||
factions.start_diplomacy(facname,newfac)
|
factions.start_diplomacy(facname,newfac)
|
||||||
newfac:check_power()
|
newfac:check_power()
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user