feat: pause menu is just now menu and does not pause

This commit is contained in:
DottsGit
2026-06-06 01:11:38 -04:00
parent 6dceab46db
commit e41e64de78
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -66,13 +66,11 @@ func _input(event: InputEvent) -> void:
func _pause() -> void:
visible = true
get_tree().paused = true
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
_show_main_menu()
func _resume() -> void:
visible = false
get_tree().paused = false
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
func _respawn() -> void:
@@ -95,7 +93,7 @@ func _build_ui() -> void:
main_center.add_child(main_vbox)
var title = Label.new()
title.text = "PAUSED"
title.text = "MENU"
title.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER
title.add_theme_font_size_override("font_size", 48)
main_vbox.add_child(title)