fix: 修复了资源无法下载的bug

This commit is contained in:
2026-02-13 09:46:27 +08:00
parent 368b9b27c6
commit d8c79b1451
3 changed files with 33 additions and 32 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ func _on_cancel_button_pressed() -> void:
func _on_download_button_pressed() -> void:
$Tips.text = "提示:已开始下载,请勿关闭设置页面"
var result: int = DownloadManager.download_from_origin()
var result: int = await DownloadManager.download_from_origin()
if result == 1:
$Tips.text = "提示:下载失败。数据源路径错误"
return