diff options
Diffstat (limited to 'src/tick.c')
-rw-r--r-- | src/tick.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -341,8 +341,8 @@ static void tick(Game *game, Arena a) { } } - if (isBlue(game->state.grid[game->state.goalx + game->state.goaly * GRIDWIDTH])) { - // TODO: Win conditions + if (game->state.grid[game->state.goalx + game->state.goaly * GRIDWIDTH] == BLUE) { + game->state.levelComplete = 1; } } |