Merge pull request #363 from ennorehling/master

fix scripting bug in new autoseed module
This commit is contained in:
Enno Rehling 2015-11-04 09:02:09 +01:00
commit 0414890923
1 changed files with 16 additions and 16 deletions

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