From 9c6b7af27ff2bc8079261b40fada3d4e05a6baa0 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 11 Dec 2014 09:15:19 +0100 Subject: [PATCH] fix a bug in the eternath quest gates (re-running old turn sometimes needs this). --- scripts/eressea/eternath.lua | 1 + scripts/eressea/gates.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/eressea/eternath.lua b/scripts/eressea/eternath.lua index 1a93ad352..4c230e733 100644 --- a/scripts/eressea/eternath.lua +++ b/scripts/eressea/eternath.lua @@ -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) diff --git a/scripts/eressea/gates.lua b/scripts/eressea/gates.lua index 2fb6736ba..c6ce0d7bc 100644 --- a/scripts/eressea/gates.lua +++ b/scripts/eressea/gates.lua @@ -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