Chelimbalo/gui/buy_menu/player_money_label.gd
2025-12-09 11:53:52 +05:00

7 lines
218 B
GDScript

extends Label
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta: float) -> void:
var data = Session.get_player_data()
if data.has("money"):
text = str(data["money"])