improved some code comments for clarity for myself

This commit is contained in:
Jaap Marsman 2022-08-16 17:37:09 +08:00
parent c19f81c7ec
commit e617d25199
2 changed files with 7 additions and 5 deletions

View File

@ -3,13 +3,15 @@ extends Node
# This variable lists the release number.
# This is "the number of releases".
# My aim is to check against a web file to see if
# there is a new version available and show a
# download button if there is.
var release_version = 1
# The var web_release_version is pulled from GitHub
# when the update button is checked. A higher value means
# an update is available
var web_release_version = 0
var current_version = "Version 0.1"
var current_version = "0.0.8"
func check_update():
pass

View File

@ -6,7 +6,7 @@ onready var program_values = get_node("/root/ProgramValues")
func _ready():
$version_label.text = str(program_values.current_version)
$version_label.text = "Version " + str(program_values.current_version)
$welcome_title.text = "Good morning, " + user_values.user_first_name + "!"