diff --git a/factions.lua b/factions.lua index 08393dd..6164370 100644 --- a/factions.lua +++ b/factions.lua @@ -533,6 +533,9 @@ function factions.load() end setmetatable(faction, factions.Faction) -- compatiblity and later additions + if not faction.maxpower or faction.maxpower == 0. then + faction.maxpower = faction.power + end end file:close() end