don't play game start sound for simul host

This commit is contained in:
Thibault Duplessis 2017-08-18 08:01:55 -05:00
parent 5f3f67b212
commit 2a69ad8a69

View file

@ -635,7 +635,7 @@ export default class RoundController {
};
private delayedInit = () => {
if (game.isPlayerPlaying(this.data) && game.nbMoves(this.data, this.data.player.color) === 0) {
if (game.isPlayerPlaying(this.data) && game.nbMoves(this.data, this.data.player.color) === 0 && !this.isSimulHost()) {
li.sound.genericNotify();
}
li.requestIdleCallback(() => {