play sound on analysis user move
This commit is contained in:
parent
16b996ea5b
commit
68af2cdb12
|
@ -88,6 +88,7 @@ module.exports = function(cfg, router, i18n, onChange) {
|
|||
}.bind(this);
|
||||
|
||||
this.onMove = function(orig, dest) {
|
||||
$.sound.move();
|
||||
var chess = new Chess(
|
||||
this.vm.situation.fen,
|
||||
this.data.game.variant.key == 'chess960' ? 1 : 0
|
||||
|
|
Loading…
Reference in a new issue