git status again...

This commit is contained in:
Haze Weathers 2024-07-13 01:03:55 -04:00
parent 6a581b960c
commit 741d734b11
2 changed files with 135 additions and 1 deletions

View file

@ -1,6 +1,7 @@
extends Control
export var travel_time: float = 1.0
export var can_menu: bool = true
var selected_level: int = 0
var made_selection: bool = false
@ -97,7 +98,8 @@ func _input(event: InputEvent) -> void:
func _gui_input(event: InputEvent) -> void:
if event.is_action_pressed("ui_cancel") or event.is_action_pressed("pause") && $"%MenuPopup".visible == false:
animation_player.play("show_menu")
if can_menu:
animation_player.play("show_menu")
if not made_selection: # player is walking around
if event.is_action_pressed("ui_accept"):
_update_stats()