diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-22 23:16:35 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:59 +0200 |
commit | 3bdc5a619f2ce5663cd601f479ddef3ffb4bfa6f (patch) | |
tree | 67ccb43c2960e8a0b9c7680d5946830e99f59561 /src/game/game.cpp | |
parent | b74611d2b20fc071b8a699f2ce25e61f60118d6e (diff) |
refactor: remove unneccessary statusline section
Diffstat (limited to 'src/game/game.cpp')
-rw-r--r-- | src/game/game.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp index 5606e71..3bd8738 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -69,8 +69,6 @@ void Game::on_start() noexcept _status_manager->set_section_body(StatusLineSection::F, "0"); - _status_manager->set_section_body(StatusLineSection::G, "lol"); - _last_update_time = std::chrono::system_clock::now(); } @@ -134,10 +132,6 @@ void Game::on_update() noexcept fmt::format("{} nanoseconds", time_since_last_update.count())); _last_update_time = std::chrono::system_clock::now(); - - _status_manager->set_section_body( - StatusLineSection::G, - fmt::format("{}", _user_input_observer->is_key_pressed('v'))); } void Game::on_exit() const noexcept |