Fix tag key for 0-index

This commit is contained in:
Cohee 2024-04-25 18:15:38 +03:00
parent 9fbb012697
commit babb4cb57b

View File

@ -384,7 +384,7 @@ function getTagKey() {
return selected_group;
}
if (this_chid && menu_type === 'character_edit') {
if (this_chid !== undefined && menu_type === 'character_edit') {
return characters[this_chid].avatar;
}