This commit is contained in:
libccy 2016-03-23 16:40:07 +08:00
parent bd22aa7e12
commit e9e2c05466
2 changed files with 2 additions and 7 deletions

View File

@ -249,7 +249,6 @@ window.config={
modeconfig:false,
gameconfig:false,
appearence:false,
target_shake:true,
video:'20',
coin:0,

View File

@ -5244,13 +5244,10 @@
}
if(player==game.me&&!_status.over&&!game.controlOver){
ui.control.show();
// if(get.config('swap')&&lib.config.mode_choice.contains('swap')){
// ui.swap=ui.create.control('换人',ui.click.dieswap);
// }
if(get.config('revive')&&lib.config.mode_choice.contains('revive')){
if(get.config('revive')&&lib.mode[lib.config.mode].config.revive){
ui.revive=ui.create.control('revive',ui.click.dierevive);
}
if(get.config('dierestart')&&lib.config.mode_choice.contains('dierestart')){
if(get.config('dierestart')&&lib.mode[lib.config.mode].config.dierestart){
ui.restart=ui.create.control('restart',game.reload);
}
}
@ -22715,7 +22712,6 @@
delete game.onover;
}
lib.config.current_mode=mode[lib.config.mode].config||[];
lib.config.mode_choice=mode[lib.config.mode].config;
lib.config.banned=get.config('banned')||[];
lib.config.bannedcards=get.config('bannedcards')||[];