Skip to content

Commit

Permalink
Simplify Menu::choiceToLevel method.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Sep 30, 2024
1 parent 6e34a37 commit f9c539b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,8 @@ Level Menu::choiceToLevel(UserChoice choice) const
case UserChoice::LEVEL_3:
return Level::LEVEL_3;

case UserChoice::LEVEL_4:
return Level::LEVEL_4;

default:
return Level::LEVEL_1;
return Level::LEVEL_4;
}
}

Expand Down

0 comments on commit f9c539b

Please sign in to comment.