From b2638a0b7828673387e7242ca9e94c2c32acbcb7 Mon Sep 17 00:00:00 2001 From: shamoanjac Date: Tue, 16 Aug 2016 22:08:29 +0200 Subject: [PATCH] Fixed not converting and adding usedpower --- factions.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/factions.lua b/factions.lua index eec10d4..8164428 100644 --- a/factions.lua +++ b/factions.lua @@ -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