Remove unused param
This commit is contained in:
parent
985799e509
commit
4a6d9ee223
|
@ -93,7 +93,6 @@ fn main() {
|
||||||
fn global_hotkeys(
|
fn global_hotkeys(
|
||||||
keyboard: Res<ButtonInput<KeyCode>>,
|
keyboard: Res<ButtonInput<KeyCode>>,
|
||||||
mut window: Query<&mut Window, With<PrimaryWindow>>,
|
mut window: Query<&mut Window, With<PrimaryWindow>>,
|
||||||
mut app_exit_events: ResMut<Events<bevy::app::AppExit>>,
|
|
||||||
) {
|
) {
|
||||||
if keyboard.just_pressed(KeyCode::Enter)
|
if keyboard.just_pressed(KeyCode::Enter)
|
||||||
&& (keyboard.pressed(KeyCode::AltLeft) || keyboard.pressed(KeyCode::AltRight))
|
&& (keyboard.pressed(KeyCode::AltLeft) || keyboard.pressed(KeyCode::AltRight))
|
||||||
|
|
Loading…
Reference in a new issue