Working on fixing a bug with browser

This commit is contained in:
dingo
2026-01-30 10:21:26 -05:00
parent b434eb6031
commit 54ed27b97a
10 changed files with 342 additions and 21 deletions
+5 -1
View File
@@ -4,6 +4,8 @@ extends CanvasLayer
@onready var status_label = $Panel/VBoxContainer/StatusLabel
@onready var file_label = $Panel/VBoxContainer/FileLabel
var debug: bool = false;
func _ready():
print("[LoadingScreen] _ready called")
@@ -24,7 +26,9 @@ func _on_update_progress(downloaded: int, total: int, current_file: String):
if total > 0:
progress_bar.value = (float(downloaded) / float(total)) * 100.0
status_label.text = "Downloading assets... (%d/%d)" % [downloaded, total]
file_label.text = current_file
file_label.text = "This wont take long..."#current_file
if debug:
file_label.text = current_file
else:
progress_bar.value = 100.0
status_label.text = "No updates needed"