Skip to content

Commit

Permalink
fix: kuroto again..
Browse files Browse the repository at this point in the history
  • Loading branch information
duiqt committed May 28, 2023
1 parent 3177bb0 commit dcb6916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function tryCachedObject(origUrl) {

function getRandomAudioUrl() {
var localAudioList = getLocalAudioList()
if (current_language == "en") {
if (current_language == "en" || current_language == "ja") {
const randomIndex = Math.floor(Math.random() * 2) + 1; //kuruto audio only play once at first squish
const randomItem = localAudioList[randomIndex];
return randomItem;
Expand Down

0 comments on commit dcb6916

Please sign in to comment.