summaryrefslogtreecommitdiffstats
path: root/assets/view_model
diff options
context:
space:
mode:
Diffstat (limited to 'assets/view_model')
-rw-r--r--assets/view_model/ViewModel.gd3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/view_model/ViewModel.gd b/assets/view_model/ViewModel.gd
index 6d42a5a..949bfab 100644
--- a/assets/view_model/ViewModel.gd
+++ b/assets/view_model/ViewModel.gd
@@ -68,6 +68,9 @@ func _physics_process(delta):
if Input.is_action_just_pressed("ping"):
cycle_parent()
+ if Input.is_action_just_pressed("menu"):
+ get_tree().quit()
+
func _unhandled_input(event):
# Implement mouse aim direction
if event is InputEventMouseMotion: