v is not a thing

This commit is contained in:
Anthony Recascino 2016-08-04 01:31:36 -04:00
parent d3ac13793f
commit e82a034462

View File

@ -924,7 +924,7 @@ function factionsmod.load()
if next(factionsmod.get_faction_list()) ~= nil then
for k in #factionsmod.get_faction_list() do
print(factionsmod.get_faction_list()[k])
--factionsmod.data.factionsmod[v].power = factionsmod.data.factionsmod[v].power + (dtime/120.0)
factionsmod.data.factionsmod[factionsmod.get_faction_list()[k]].power = factionsmod.data.factionsmod[factionsmod.get_faction_list()[k]].power + (dtime/120.0)
end
end
end)