fix
This commit is contained in:
parent
e3a6378c42
commit
a53951b4db
14
game/game.js
14
game/game.js
|
@ -12422,7 +12422,7 @@
|
|||
game.onlineID=null;
|
||||
game.roomId=null;
|
||||
}
|
||||
if(game.servermode){
|
||||
if(game.servermode&&!observe){
|
||||
game.saveConfig('reconnect_info',[_status.ip,game.onlineID,game.roomId]);
|
||||
}
|
||||
else{
|
||||
|
@ -15358,6 +15358,12 @@
|
|||
}
|
||||
if(game.servermode){
|
||||
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){
|
||||
ui.tempnowuxie.close();
|
||||
|
@ -22434,8 +22440,10 @@
|
|||
click:{
|
||||
exit:function(){
|
||||
if(game.servermode&&lib.config.reconnect_info&&_status.over){
|
||||
lib.config.reconnect_info[2]=game.roomId;
|
||||
game.saveConfig('reconnect_info',lib.config.reconnect_info);
|
||||
if(!_status.roomtimeout){
|
||||
lib.config.reconnect_info[2]=game.roomId;
|
||||
game.saveConfig('reconnect_info',lib.config.reconnect_info);
|
||||
}
|
||||
}
|
||||
else{
|
||||
game.saveConfig('reconnect_info');
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
window.noname_update={
|
||||
version:'1.8.8.1',
|
||||
version:'1.8.8.2',
|
||||
changeLog:[
|
||||
'联机大厅改进',
|
||||
'默认更新地址修改',
|
||||
'可下载皮肤素材',
|
||||
'修复观战bug'
|
||||
'修复观战和国战bug'
|
||||
]
|
||||
}
|
||||
|
|
|
@ -718,6 +718,7 @@ mode.guozhan={
|
|||
game.players[i].identity='unknown';
|
||||
game.players[i].node.name.show();
|
||||
game.players[i].node.name2.show();
|
||||
game.players[i]._group=lib.character[game.players[i].name1][1];
|
||||
}
|
||||
},result);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue