Remove unnecessary scope in swicth
This commit is contained in:
parent
70e28beb51
commit
f0dae75cf3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user