Q quits the game
This commit is contained in:
parent
82c4358ac7
commit
6ae930cb43
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue