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
|
||||
faction.attacked_parcels = {}
|
||||
end
|
||||
if not faction.usedpower then
|
||||
faction.usedpower = faction:count_land() * factions.power_per_parcel
|
||||
end
|
||||
end
|
||||
file:close()
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user