Fixed not converting and adding usedpower

This commit is contained in:
shamoanjac 2016-08-16 22:08:29 +02:00
parent 006c032952
commit b2638a0b78
1 changed files with 3 additions and 0 deletions

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