This commit is contained in:
陈思海 2025-03-14 17:51:49 +08:00
parent 392768b9de
commit 4cb0bd2e57
3 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ namespace AlicizaX.UI.Extension
private void PlayButtonSound(ButtonSoundType buttonSoundType)
{
ButtonSoundCell buttonSound = GetButtonSound(buttonSoundType);
if (buttonSound == null)
if (buttonSound == null || string.IsNullOrEmpty(buttonSound.ButtonUISoundName))
{
return;
}