Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
Always reset a new level regardless of the debug build options.

Signed-off-by: Artem Senichev <[email protected]>
  • Loading branch information
artemsen committed May 31, 2024
1 parent 4e50255 commit 72c4cfa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,12 +454,7 @@ void Game::reset_level(bool regen)
layout.update(level.width, level.height);
}

#ifdef DEBUG
level.get_cell(level.sender).rotate(false);
#else
level.reset();
#endif // DEBUG

level.update();
}

Expand Down

0 comments on commit 72c4cfa

Please sign in to comment.