Chelimbalo/gui/main_menu/version_label.gd
2025-12-17 01:00:06 +05:00

11 lines
287 B
GDScript

extends RichTextLabel
func _ready() -> void:
AutoUpdate.update_version_text.connect(update_version)
update_version("")
func update_version(version: StringName):
text = "Текущая версия игры: " + preload("res://version.tres").version + "\n" + version
print(text)