From 89541571a40f3fb0443b6b6cc3d27959a4e9a3ff Mon Sep 17 00:00:00 2001 From: libccy Date: Thu, 21 Apr 2016 14:06:45 +0800 Subject: [PATCH] guozhan --- game/game.js | 1 + mode/guozhan.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index 479406dcf..d058b3396 100755 --- a/game/game.js +++ b/game/game.js @@ -5164,6 +5164,7 @@ next.callback=callback; next.switchToAuto=switchToAuto; next.processAI=processAI; + next.complexSelect=true; game.resume(); },current,event.callback,event.switchToAuto,event.processAI); target._choose_button_ol=current; diff --git a/mode/guozhan.js b/mode/guozhan.js index fc55cd7e0..9bc89cc3c 100755 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -646,7 +646,7 @@ mode.guozhan={ } } for(var i in result){ - if(result[i]=='ai'){ + if(result[i]=='ai'||!reult[i].links||result[i].links.length<1){ if(sort){ sort=false; event.list.randomSort();