aboutsummaryrefslogtreecommitdiff
path: root/client/menu/menu_manager.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-06-26 21:29:32 +0200
committertpart <tpart120@proton.me>2024-06-26 21:29:32 +0200
commitfd5521667f38532a51b69be2aee8b0480dea1337 (patch)
tree298280882372605dc7862ec1e56857a108ded3f7 /client/menu/menu_manager.gd
parent542e9f44be4926a5b03756710b337daf410a3e2e (diff)
downloadhurrycurry-fd5521667f38532a51b69be2aee8b0480dea1337.tar
hurrycurry-fd5521667f38532a51b69be2aee8b0480dea1337.tar.bz2
hurrycurry-fd5521667f38532a51b69be2aee8b0480dea1337.tar.zst
Fix not fading in
Diffstat (limited to 'client/menu/menu_manager.gd')
-rw-r--r--client/menu/menu_manager.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/menu/menu_manager.gd b/client/menu/menu_manager.gd
index 7c958272..079f6e44 100644
--- a/client/menu/menu_manager.gd
+++ b/client/menu/menu_manager.gd
@@ -12,6 +12,10 @@ var menu_stack = ["main"]
func _ready():
Global.focus_first_button(menus[menu_stack.back()])
+
+ if Global.fade_next:
+ Global.fade_next = false
+ transition.fade_in()
func _input(event):
if Input.is_action_just_pressed("ui_cancel") && menu_stack.size() > 1: