cancel rematch offers if going to RPA
This commit is contained in:
parent
c5ec584309
commit
537347aa66
|
@ -143,6 +143,7 @@ module.exports = {
|
|||
},
|
||||
analysis: function(ctrl) {
|
||||
if (game.replayable(ctrl.data)) return m('a.button.replay_and_analyse', {
|
||||
onclick: partial(ctrl.socket.send, 'rematch-no', null),
|
||||
href: ctrl.router.Round.watcher(ctrl.data.game.id, ctrl.data.player.color).url
|
||||
}, ctrl.trans('analysis'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue