Prevent levels > 10 from crashing the game.
This commit is contained in:
parent
549f47ae0b
commit
854f2c0918
|
@ -220,7 +220,7 @@ end
|
||||||
|
|
||||||
-- Begin script
|
-- Begin script
|
||||||
local enemies = {}
|
local enemies = {}
|
||||||
if(CURRENT_LEVEL > 0 and CURRENT_LEVEL < 10) then
|
if(CURRENT_LEVEL > 0) then
|
||||||
if (CURRENT_LEVEL == 1) then
|
if (CURRENT_LEVEL == 1) then
|
||||||
enemies = concat(enemies, pests)
|
enemies = concat(enemies, pests)
|
||||||
enemies = concat(enemies, misc)
|
enemies = concat(enemies, misc)
|
||||||
|
|
Loading…
Reference in New Issue