forked from mtcontrib/factions
Merge pull request #20 from shamoanjac/master
Fixed not converting and adding usedpower
This commit is contained in:
commit
22c063b949
@ -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