Also let "Q" quit application
This commit is contained in:
parent
83dcfe520d
commit
f55be0fe51
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ async fn main() -> Result<(), String> {
|
|||
let dt: f64 = get_frame_time() as f64;
|
||||
clear_background(BLACK);
|
||||
|
||||
if is_key_pressed(KeyCode::Escape) {
|
||||
if is_key_pressed(KeyCode::Escape) || is_key_pressed(KeyCode::Q) {
|
||||
break 'macroquad_main;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue