feat: Toggle visibility of shop items in _ready()

This commit is contained in:
Dendy 2026-03-06 00:24:18 +01:00
parent 78705127c4
commit bdeb64137a
1 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,13 @@ var special_currency: int = 0
signal shop_exit signal shop_exit
func _ready() -> void:
$Tux.visible = true
$Xenia.visible = true
$TuxUpgrades.visible = false
$XeniaUpgrades.visible = false
func _process(delta: float) -> void: func _process(delta: float) -> void:
$Money.text = str(available_money) $Money.text = str(available_money)
$SpecialMoney.text = str(special_currency) $SpecialMoney.text = str(special_currency)