Skip to content

Commit

Permalink
length > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
headshot2017 authored Nov 21, 2023
1 parent 81f3963 commit 9a0f81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const getCharacterUrls = async () => {
for (const value in charIni[key]) {
const sfx = charIni[key][value];
const sfxUrl = `${BASE_SOUNDS_URL}` + "general/" + sfx + ".opus";
if (sfx != null && sfx.length > 0 && sfx != "0" && sfx != "1" && !validUrls.find((existing) => existing == sfxUrl))
if (sfx != null && sfx.length > 1 && !validUrls.find((existing) => existing == sfxUrl))
validUrls.push(sfxUrl);
}
}
Expand Down

0 comments on commit 9a0f81c

Please sign in to comment.