diff --git a/game/update.js b/game/update.js index 4540e26e6..cb68a7568 100644 --- a/game/update.js +++ b/game/update.js @@ -18,7 +18,7 @@ window.noname_update={ // 'mode/boss.js', // 'mode/versus.js', 'mode/guozhan.js', - // 'mode/identity.js', + 'mode/versus.js', // 'mode/chess.js', // 'mode/tafang.js', // 'mode/guozhan.js', diff --git a/mode/versus.js b/mode/versus.js index 792f6266c..cbf2bdc3d 100644 --- a/mode/versus.js +++ b/mode/versus.js @@ -5419,7 +5419,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){ return; } else if(_status.mode=='siguo'){ - if(game.players.length==1||(game.players.length==2&&game.players[i].side==game.players[1].side)){ + if(game.players.length==1||(game.players.length==2&&game.players[0].side==game.players[1].side)){ game.over(game.me.side==game.players[0].side); } var assignzhibao=function(){