Currency not shared — gacha wallet and shop wallet appear separate #75
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Description
The Gacha panel's currency balances (Gold/Star) do not update automatically when currency is purchased in the Shop or earned elsewhere, making it appear as though the Gacha and Shop use separate wallets.
Root Cause
The
gacha_panel.gdscript lacked a connection to theUserProfileManager.profile_updatedsignal, resulting in stale UI labels. The underlying Nakama backend correctly uses a single authoritative wallet for both.Resolution
Fixed by connecting the
profile_updatedsignal ingacha_panel.gd, ensuring the UI instantly refreshes when the global wallet balance changes.Fixed in commit
ab93f047ab