diff --git a/CHANGELOG.md b/CHANGELOG.md index a8c0506..efbcb46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- New start menu with "New Game", "Settings", "Credits" and "Quit" buttons +- New start menu with "New Game", "Credits" and "Quit" buttons ### Changed diff --git a/src/inputs/menu.rs b/src/inputs/menu.rs index 0768a71..0cdd1d0 100644 --- a/src/inputs/menu.rs +++ b/src/inputs/menu.rs @@ -5,7 +5,6 @@ use leafwing_input_manager::prelude::*; pub enum MenuAction { Select, Start, - Settings, Credits, Quit, } @@ -16,7 +15,6 @@ pub fn menu_input_map() -> InputMap { (KeyCode::Return, MenuAction::Select), // Hotkeys (KeyCode::N, MenuAction::Start), - (KeyCode::S, MenuAction::Settings), (KeyCode::C, MenuAction::Credits), (KeyCode::Q, MenuAction::Quit), ]); diff --git a/src/ui/menus/start_menu.rs b/src/ui/menus/start_menu.rs index 7418d79..8cb3033 100644 --- a/src/ui/menus/start_menu.rs +++ b/src/ui/menus/start_menu.rs @@ -27,7 +27,6 @@ impl Plugin for MenuPlugin { #[derive(Component)] pub enum MenuButton { NewGame, - Settings, Credits, Quit, } @@ -99,7 +98,6 @@ pub(crate) fn spawn_start_menu(mut commands: Commands, ui: Res, i18n: for (string, marker) in [ ("new-game", MenuButton::NewGame), - ("settings", MenuButton::Settings), ("credits", MenuButton::Credits), ("quit", MenuButton::Quit), ] { @@ -143,9 +141,6 @@ pub(crate) fn menu_input_system( MenuButton::NewGame => { next_state.set(GameState::GameCreate); } - MenuButton::Settings => { - // start the game - } MenuButton::Credits => { next_state.set(GameState::Credits); }