feat: 增加加载失败提示,更改本地数据源路径

This commit is contained in:
2026-02-14 12:47:52 +08:00
parent c413cced56
commit b811bced09
4 changed files with 26 additions and 23 deletions
+3
View File
@@ -43,6 +43,9 @@ func _on_download_button_pressed() -> void:
func _on_load_button_pressed() -> void:
if GameManager.sources.size() == 0 or GameManager.source == -1:
$Tips.text = "提示:无本地数据或未选择,无法加载"
return;
DownloadManager.uuid = GameManager.sources[$LoadSource/ChooseSource.text]
DownloadManager.load_resource()
$Tips.text = "提示:完成加载"