fix scripting bug in new autoseed module

This commit is contained in:
Enno Rehling 2015-11-04 08:56:31 +01:00
parent bd46d08446
commit 1c85f0e1de

View file

@ -78,7 +78,6 @@ function autoseed.init()
local sel
eressea.log.info(#players .. ' new players')
sel = select_regions(regions(), peasants, trees)
end
for _, p in ipairs(players) do
if num_seeded == per_region then
while not start or start.units() do
@ -98,5 +97,6 @@ function autoseed.init()
end
end
end
end
return autoseed