Autoupdate status

This commit is contained in:
Rendo 2025-12-17 01:00:06 +05:00
commit 3a4e0f30bf
3 changed files with 25 additions and 3 deletions

View file

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