当emojiid 为0时不进行播放

main
刘涛 2023-10-24 12:40:40 +08:00
parent 6937510891
commit e940fe1112
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ namespace Gameplay.Emoji
public async void SwitchEmoji(int emojiId)
{
if (_matUp == null) return;
if (emojiId == 0) return;
#if UNITY_EDITOR
var emojiCfg = EditorTableManager.instance.tables.EmojiConfig.Get(emojiId);
#else