This commit is contained in:
libccy 2016-08-14 20:20:46 +08:00
parent 09f3b69ad3
commit 773aae8441
2 changed files with 2 additions and 1 deletions

View File

@ -19332,6 +19332,7 @@
game.addVideo('addFellow',null,[position,character]); game.addVideo('addFellow',null,[position,character]);
var player=ui.create.player(ui.arena).animate(animation||'start'); var player=ui.create.player(ui.arena).animate(animation||'start');
player.dataset.position=position||game.players.length+game.dead.length; player.dataset.position=position||game.players.length+game.dead.length;
player.getId();
if(character) player.init(character); if(character) player.init(character);
game.players.push(player);game.arrangePlayers(); game.players.push(player);game.arrangePlayers();
return player; return player;

View File

@ -1272,7 +1272,7 @@ mode.chess={
} }
}, },
}, },
playerproto:{ content:{
replaceChessPlayer:function(){ replaceChessPlayer:function(){
'step 0' 'step 0'
if(get.config('additional_player')){ if(get.config('additional_player')){