Prevent levels > 10 from crashing the game.
This commit is contained in:
parent
3fabd039a4
commit
6763ef0144
|
@ -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