Merge pull request #20 from shamoanjac/master

Fixed not converting and adding usedpower
This commit is contained in:
agrecascino
2016-08-16 16:13:54 -04:00
committed by GitHub

View File

@ -595,6 +595,9 @@ function factions.load()
if not faction.attacked_parcels then
faction.attacked_parcels = {}
end
if not faction.usedpower then
faction.usedpower = faction:count_land() * factions.power_per_parcel
end
end
file:close()
end