Fix sound disabling

This commit is contained in:
Chris Blanchard 2015-09-14 18:40:27 +01:00
parent 5d90538337
commit add58ff761

View file

@ -37,9 +37,9 @@ class SoundController {
var self = this;
if (!self.gather.playable) return;
self.gather.music.play();
self.gather.music.playable = false;
self.gather.playable = false;
setTimeout(function () {
self.gather.music.playable = true;
self.gather.playable = true;
}, self.minPlayInterval);
}
}