forked from mtcontrib/factions
Fixed not converting and adding usedpower
This commit is contained in:
parent
006c032952
commit
b2638a0b78
@ -595,6 +595,9 @@ function factions.load()
|
|||||||
if not faction.attacked_parcels then
|
if not faction.attacked_parcels then
|
||||||
faction.attacked_parcels = {}
|
faction.attacked_parcels = {}
|
||||||
end
|
end
|
||||||
|
if not faction.usedpower then
|
||||||
|
faction.usedpower = faction:count_land() * factions.power_per_parcel
|
||||||
|
end
|
||||||
end
|
end
|
||||||
file:close()
|
file:close()
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user