forked from github/server
fix a bug in the eternath quest gates (re-running old turn sometimes needs this).
This commit is contained in:
parent
ef415c66d0
commit
9c6b7af27f
|
@ -23,6 +23,7 @@ local eternath = {}
|
|||
|
||||
function eternath.update()
|
||||
if b1 and b2 then
|
||||
local size = 5
|
||||
local units1 = gates.units(b1, size)
|
||||
local units2 = gates.units(b2, size)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ function gates.travel(b, units)
|
|||
end
|
||||
|
||||
function gates.units(b, maxsize)
|
||||
local size = maxsize
|
||||
local size = maxsize or 1
|
||||
local units = {}
|
||||
local u
|
||||
|
||||
|
|
Loading…
Reference in New Issue