limit eternath gates to 1-person units, avoid crash

This commit is contained in:
Enno Rehling 2014-12-27 23:50:34 +01:00
parent 786f5e8302
commit df3ce116a7
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ end
local eternath = {} local eternath = {}
function eternath.update() function eternath.update()
local size = 1
if b1 and b2 then if b1 and b2 then
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

@ -1,3 +1,3 @@
#define VERSION_MAJOR 3 #define VERSION_MAJOR 3
#define VERSION_MINOR 3 #define VERSION_MINOR 3
#define VERSION_BUILD 693 #define VERSION_BUILD 694