fix a bug in the eternath quest gates (re-running old turn sometimes needs this).

This commit is contained in:
Enno Rehling 2014-12-11 09:15:19 +01:00
parent ef415c66d0
commit 9c6b7af27f
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ local eternath = {}
function eternath.update() function eternath.update()
if b1 and b2 then if b1 and b2 then
local size = 5
local units1 = gates.units(b1, size) local units1 = gates.units(b1, size)
local units2 = gates.units(b2, size) local units2 = gates.units(b2, size)

View File

@ -13,7 +13,7 @@ function gates.travel(b, units)
end end
function gates.units(b, maxsize) function gates.units(b, maxsize)
local size = maxsize local size = maxsize or 1
local units = {} local units = {}
local u local u