Skip to content

Commit c375137

Browse files
committed
Fixed bug involving selecting call only
1 parent 341a7ed commit c375137

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/sound-manager-2-0.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function getNextSetup(){
148148
curSound = json.species[curSpeciesIndex].songs[songSelector];
149149
} else {
150150
var songSelector = Math.floor(Math.random() * json.species[curSpeciesIndex].calls.length);
151-
curSound = json.species[curSpeciesIndex].songs[songSelector];
151+
curSound = json.species[curSpeciesIndex].calls[songSelector];
152152
}
153153
}
154154

0 commit comments

Comments
 (0)