From 3826e09c66a622b4fff96d8e2676973b0ee34061 Mon Sep 17 00:00:00 2001 From: libccy Date: Fri, 19 May 2017 18:23:41 +0800 Subject: [PATCH] us --- game/game.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/game/game.js b/game/game.js index 0dbff56c9..4ba67e451 100644 --- a/game/game.js +++ b/game/game.js @@ -12169,7 +12169,15 @@ if(_status.roundStart==player){ _status.roundStart=player.next||player.getNext()||game.players[0]; } + var unseen=false; + if(player.classList.contains('unseen')){ + player.classList.remove('unseen'); + unseen=true; + } var logvid=game.logv(player,'die',source); + if(unseen){ + player.classList.add('unseen'); + } if(source&&source!=player){ game.log(player,'被',source,'杀害'); if(source.stat[source.stat.length-1].kill==undefined){