1
0
mirror of synced 2025-02-02 20:37:25 +01:00

Fix line swap typo

This commit is contained in:
Stepland 2020-05-01 00:39:41 +02:00
parent 40f95dda15
commit da2f8e46c5

View File

@ -77,8 +77,8 @@ std::optional<Data::SongDifficulty> MusicSelect::Screen::select_chart(sf::Render
if (not resources.options_state.empty()) { if (not resources.options_state.empty()) {
window.draw(panel_filter); window.draw(panel_filter);
window.draw(resources.options_state.back()); window.draw(resources.options_state.back());
resources.options_state.back().get().exit();
if (resources.options_state.back().get().should_exit()) { if (resources.options_state.back().get().should_exit()) {
resources.options_state.back().get().exit();
resources.options_state.pop_back(); resources.options_state.pop_back();
if (not resources.options_state.empty()) { if (not resources.options_state.empty()) {
resources.options_state.back().get().update(); resources.options_state.back().get().update();