清理无用素材

This commit is contained in:
2026-09-13 20:46:16 +08:00
parent 7dc529a840
commit e2fdb660ab
127 changed files with 6 additions and 8571 deletions
@@ -37,13 +37,13 @@ namespace SepCore.UI
public bool ConfirmSelectedRole()
{
var roles = GameEntry.Luban.GetTable<RoleConfig>();
var config = GameEntry.Luban.Get<RoleConfig>(SelectedRoleName);
if (string.IsNullOrEmpty(SelectedRoleName) || config == null)
if (string.IsNullOrEmpty(SelectedRoleName))
{
int randomIndex = Random.Range(0, roles.Count);
SelectedRoleName = roles[randomIndex].Name;
}
_procedureMenu.ConfirmSelectRole(SelectedRoleName);
return true;
}