Add version to title

This commit is contained in:
2020-05-16 20:43:48 -04:00
parent 8b93f60aa0
commit 3dfff8793c
3 changed files with 21 additions and 7 deletions

Binary file not shown.

View File

@ -0,0 +1,13 @@
extends Label
onready var file = 'res://VERSION.txt'
func _ready():
var f = File.new()
if f.file_exists(file):
f.open(file, File.READ)
if not f.eof_reached():
text = f.get_line()
f.close()
else:
text = "Custom Build"