Prevent levels > 10 from crashing the game.

This commit is contained in:
Linus Probert 2018-08-18 20:53:13 +02:00
parent 549f47ae0b
commit 854f2c0918
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ end
-- Begin script
local enemies = {}
if(CURRENT_LEVEL > 0 and CURRENT_LEVEL < 10) then
if(CURRENT_LEVEL > 0) then
if (CURRENT_LEVEL == 1) then
enemies = concat(enemies, pests)
enemies = concat(enemies, misc)