From bf6ad78189153466776d8df1e262b9535f22496c Mon Sep 17 00:00:00 2001 From: libccy Date: Wed, 17 May 2017 12:26:14 +0800 Subject: [PATCH] 3 --- mode/chess.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mode/chess.js b/mode/chess.js index 856dcdcd8..ce605df9a 100644 --- a/mode/chess.js +++ b/mode/chess.js @@ -615,8 +615,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ var pos=y*ui.chesswidth+x; if(!lib.posmap[pos]){ delete lib.posmap[this.dataset.position]; - this.changeSeat(pos,false); - // this.dataset.position=pos; + // this.changeSeat(pos,false); + this.dataset.position=pos; lib.posmap[pos]=this; this.chessFocus(); }