fix: keep gacha panel wallet UI synced with global wallet updates
This commit is contained in:
@@ -70,6 +70,10 @@ func _ready() -> void:
|
|||||||
pull_10_btn.pressed.connect(func(): _do_pull(10))
|
pull_10_btn.pressed.connect(func(): _do_pull(10))
|
||||||
close_result_btn.pressed.connect(func(): result_panel.hide())
|
close_result_btn.pressed.connect(func(): result_panel.hide())
|
||||||
craft_btn.pressed.connect(_on_open_craft)
|
craft_btn.pressed.connect(_on_open_craft)
|
||||||
|
|
||||||
|
if UserProfileManager.profile_updated.connect(_refresh_ui) != OK:
|
||||||
|
pass
|
||||||
|
|
||||||
result_panel.hide()
|
result_panel.hide()
|
||||||
_switch_banner("star")
|
_switch_banner("star")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user