|
@@ -399,18 +399,7 @@ function SoundSafari(beatInfo) {
|
|
|
var delta = dt * 1000;
|
|
|
|
|
|
currentBeats.map(function(beat) {
|
|
|
- if(beat.repeat) {
|
|
|
- beat.repeat = false;
|
|
|
- }
|
|
|
- else {
|
|
|
- if(gameTime + delta > nextPlayTime(beat.sound.duration)) {
|
|
|
- beat.repeat = true;
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- currentBeats.map(function(beat) {
|
|
|
- if(beat.repeat) {
|
|
|
+ if(gameTime + delta > nextPlayTime(beat.info.duration)) {
|
|
|
if(beat == activeTarget.beat && state.current == 'waiting') {
|
|
|
state.play();
|
|
|
}
|