Q quits the game

This commit is contained in:
Alex Page 2022-02-01 17:08:07 -05:00
parent 82c4358ac7
commit 6ae930cb43

View file

@ -101,7 +101,7 @@ impl State {
let mut show_debug_info = self.ecs.write_resource::<ShowDebugInfo>(); let mut show_debug_info = self.ecs.write_resource::<ShowDebugInfo>();
show_debug_info.0 = !show_debug_info.0; show_debug_info.0 = !show_debug_info.0;
} }
VirtualKeyCode::Escape => { VirtualKeyCode::Escape | VirtualKeyCode::Q => {
ctx.quit(); ctx.quit();
} }
_ => { _ => {