mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-20 10:42:38 +00:00
Fix sound disabling
This commit is contained in:
parent
5d90538337
commit
add58ff761
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue