From ca3765ccbbcaee691d71e4f995ff639682d7346f Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 23 Jun 2022 20:19:55 +0200 Subject: refactor: remove printing scene matrix on exit --- src/game/game.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/game/game.cpp b/src/game/game.cpp index 055fcd6..2c00b4b 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -213,20 +213,7 @@ void Game::on_update() noexcept _on_normal_mode_update(); } -void Game::on_exit() const noexcept -{ - for (auto row : *_scene->get_matrix()) - { - for (auto &col : row) - { - fmt::print("{}", col); - } - - fmt::print("\n"); - } - - std::cout.flush(); -} +void Game::on_exit() const noexcept {} void Game::_on_normal_mode_update() noexcept { -- cgit v1.2.3-18-g5258