From 6ae930cb43b4c452b8ac4527b1f459343668bd2c Mon Sep 17 00:00:00 2001 From: Alex Page Date: Tue, 1 Feb 2022 17:08:07 -0500 Subject: [PATCH] Q quits the game --- src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state.rs b/src/state.rs index 45232c9..cb61925 100644 --- a/src/state.rs +++ b/src/state.rs @@ -101,7 +101,7 @@ impl State { let mut show_debug_info = self.ecs.write_resource::(); show_debug_info.0 = !show_debug_info.0; } - VirtualKeyCode::Escape => { + VirtualKeyCode::Escape | VirtualKeyCode::Q => { ctx.quit(); } _ => {