1
0
mirror of synced 2024-11-12 01:40:47 +01:00

Remove unnecessary scope in swicth

This commit is contained in:
Stepland 2020-02-08 16:09:51 +01:00
parent 70e28beb51
commit f0dae75cf3

View File

@ -68,9 +68,7 @@ void MusicSelect::Screen::handle_key_press(const sf::Event::KeyEvent& key_event)
} else {
switch (key_event.code){
case sf::Keyboard::F12:
{
ribbon.debug = not ribbon.debug;
}
ribbon.debug = not ribbon.debug;
break;
default:
break;