This commit is contained in:
libccy 2016-04-18 21:19:22 +08:00
parent e3a6378c42
commit a53951b4db
3 changed files with 14 additions and 5 deletions

View File

@ -12422,7 +12422,7 @@
game.onlineID=null; game.onlineID=null;
game.roomId=null; game.roomId=null;
} }
if(game.servermode){ if(game.servermode&&!observe){
game.saveConfig('reconnect_info',[_status.ip,game.onlineID,game.roomId]); game.saveConfig('reconnect_info',[_status.ip,game.onlineID,game.roomId]);
} }
else{ else{
@ -15358,6 +15358,12 @@
} }
if(game.servermode){ if(game.servermode){
ui.exit.firstChild.innerHTML='返回房间'; ui.exit.firstChild.innerHTML='返回房间';
setTimeout(function(){
ui.exit.firstChild.innerHTML='退出房间';
_status.roomtimeout=true;
lib.config.reconnect_info[2]=null;
game.saveConfig('reconnect_info',lib.config.reconnect_info);
},10000);
} }
if(ui.tempnowuxie){ if(ui.tempnowuxie){
ui.tempnowuxie.close(); ui.tempnowuxie.close();
@ -22434,8 +22440,10 @@
click:{ click:{
exit:function(){ exit:function(){
if(game.servermode&&lib.config.reconnect_info&&_status.over){ if(game.servermode&&lib.config.reconnect_info&&_status.over){
lib.config.reconnect_info[2]=game.roomId; if(!_status.roomtimeout){
game.saveConfig('reconnect_info',lib.config.reconnect_info); lib.config.reconnect_info[2]=game.roomId;
game.saveConfig('reconnect_info',lib.config.reconnect_info);
}
} }
else{ else{
game.saveConfig('reconnect_info'); game.saveConfig('reconnect_info');

View File

@ -1,9 +1,9 @@
window.noname_update={ window.noname_update={
version:'1.8.8.1', version:'1.8.8.2',
changeLog:[ changeLog:[
'联机大厅改进', '联机大厅改进',
'默认更新地址修改', '默认更新地址修改',
'可下载皮肤素材', '可下载皮肤素材',
'修复观战bug' '修复观战和国战bug'
] ]
} }

View File

@ -718,6 +718,7 @@ mode.guozhan={
game.players[i].identity='unknown'; game.players[i].identity='unknown';
game.players[i].node.name.show(); game.players[i].node.name.show();
game.players[i].node.name2.show(); game.players[i].node.name2.show();
game.players[i]._group=lib.character[game.players[i].name1][1];
} }
},result); },result);
} }