quality update and sound
This commit is contained in:
14
scripts/menus/close_game_confirmation.gd
Normal file
14
scripts/menus/close_game_confirmation.gd
Normal file
@@ -0,0 +1,14 @@
|
||||
extends CanvasLayer
|
||||
|
||||
func _on_close_pressed() -> void:
|
||||
get_tree().quit()
|
||||
|
||||
|
||||
func _on_main_menu_pressed() -> void:
|
||||
hide()
|
||||
WindowManager.pause_menu.hide()
|
||||
get_tree().change_scene_to_file("res://scenes/gui/menus/main_menu.tscn")
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
if Input.is_action_just_pressed("pause"):
|
||||
hide()
|
||||
Reference in New Issue
Block a user