fix: keep gacha panel wallet UI synced with global wallet updates

This commit is contained in:
god
2026-07-04 19:56:19 +08:00
parent b15e1153e0
commit ab93f047ab
+4
View File
@@ -70,6 +70,10 @@ func _ready() -> void:
pull_10_btn.pressed.connect(func(): _do_pull(10))
close_result_btn.pressed.connect(func(): result_panel.hide())
craft_btn.pressed.connect(_on_open_craft)
if UserProfileManager.profile_updated.connect(_refresh_ui) != OK:
pass
result_panel.hide()
_switch_banner("star")