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
|
||||
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