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

10 lines
274 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