diff options
Diffstat (limited to 'src/functions.c')
-rw-r--r-- | src/functions.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/functions.c b/src/functions.c index ee0566d..cf01bfb 100644 --- a/src/functions.c +++ b/src/functions.c @@ -149,8 +149,9 @@ void putShape() void checkLevelUp(Game *game) { - if (game->scoreCurrent >= game->level * 100) - game->level++; + if (game->level <= 15) + if (game->scoreCurrent >= game->level * 100) + game->level++; } void resetActiveShape() |