From 62cdd67de4f96f6cd135e7f2d1b336744ffed5be Mon Sep 17 00:00:00 2001 From: Noah Date: Fri, 28 Oct 2022 21:58:00 -0500 Subject: [PATCH] Made local_version be defined on _ready() --- Main_menu.gd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Main_menu.gd b/Main_menu.gd index e936f08..a771b7f 100644 --- a/Main_menu.gd +++ b/Main_menu.gd @@ -51,12 +51,14 @@ func _process(_delta): # Set the Local_version label if local_version: $Panel/Panel/Local_version.text = "Local Version: "+local_version - if newest_version: $Panel/Panel/Online_version.text = "Online Version: "+newest_version # When everything is loaded, func _ready(): + # Get the installed version + local_version = Versions.get_version() + # Randomize random = RandomNumberGenerator.new() random.randomize()