From 6bfb58655a6e849f79431c18035dc73ee076df35 Mon Sep 17 00:00:00 2001 From: libccy Date: Sun, 5 Jun 2016 23:22:28 +0800 Subject: [PATCH] 1 --- game/game.js | 5 +++-- game/update.js | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/game/game.js b/game/game.js index 607c25db6..29b15ac70 100755 --- a/game/game.js +++ b/game/game.js @@ -12936,6 +12936,7 @@ if(!lib.configOL.observe_handcard&&(lib.configOL.mode=='identity'||lib.configOL.mode=='guozhan')){ if(observe&&!player.identityShown){ player.setIdentity('cai'); + player.forceShown=false; } } } @@ -12961,12 +12962,12 @@ return; } if(player.isAlive()){ - if(!game.me.identityShown){ + if(!game.me.identityShown&&lib.configOL.mode=='guozhan'){ game.me.node.identity.firstChild.innerHTML='猜'; game.me.node.identity.dataset.color='unknown'; } game.swapPlayer(player); - if(!game.me.identityShown){ + if(!game.me.identityShown&&lib.configOL.mode=='guozhan'){ game.me.node.identity.firstChild.innerHTML=''; } } diff --git a/game/update.js b/game/update.js index 4dd04a1c6..46dea5bc9 100644 --- a/game/update.js +++ b/game/update.js @@ -7,9 +7,9 @@ window.noname_update={ files:{ global:[ 'character/yijiang.js', - 'mode/guoshan.js', + 'mode/guozhan.js', 'game/game.js', - 'layout/default/layout.js', + 'layout/default/layout.css', 'theme/woodden/style.css', 'theme/simple/style.css', 'theme/music/style.css',