This commit is contained in:
libccy 2017-05-17 12:26:14 +08:00
parent 8cbaf8b56c
commit bf6ad78189
1 changed files with 2 additions and 2 deletions

View File

@ -615,8 +615,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
var pos=y*ui.chesswidth+x; var pos=y*ui.chesswidth+x;
if(!lib.posmap[pos]){ if(!lib.posmap[pos]){
delete lib.posmap[this.dataset.position]; delete lib.posmap[this.dataset.position];
this.changeSeat(pos,false); // this.changeSeat(pos,false);
// this.dataset.position=pos; this.dataset.position=pos;
lib.posmap[pos]=this; lib.posmap[pos]=this;
this.chessFocus(); this.chessFocus();
} }