From c4f6d5a15bac583f9392e4fc1fabee23eaf9d1f5 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Fri, 7 Feb 2020 15:15:33 +0100 Subject: [PATCH] 'update' --- client/src/views/Game.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 799f5ab0..baa9ae19 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -256,7 +256,8 @@ export default { if (!!data.move.cancelDrawOffer) //opponent refuses draw { this.drawOffer = ""; - if (this.game.type == "live") //corr games: reset by player who played + // NOTE for corr games: drawOffer reset by player in turn + if (this.game.type == "live" && !!this.game.mycolor) GameStorage.update(this.gameRef.id, {drawOffer: ""}); } this.$set(this.game, "moveToPlay", data.move); -- 2.44.0