&& (game.getPhase() != Game.PHASE_LOUNGE || game.getNoOfEntities() > 0)) {
&& (game.getPhase() != IGame.PHASE_LOUNGE || game.getNoOfEntities() > 0)) {
    private void checkReady() {        // check if all active players are done        for (Enumeration i = game.getPlayers(); i.hasMoreElements();) {            final Player player = (Player)i.nextElement();            if (!player.isGhost() && !player.isObserver() && !player.isDone()) {                return;            }        }        // Tactical Genius pilot special ability (lvl 3)        if (game.getInitiativeRerollRequests().size() > 0) {            resetActivePlayersDone();            TurnOrdered.rollInitAndResolveTies(game.getTeamsVector(), game.getInitiativeRerollRequests());            determineTurnOrder(Game.PHASE_INITIATIVE);            writeInitiativeReport(true);            send(createReportPacket());            game.getInitiativeRerollRequests().removeAllElements();            return;  // don't end the phase yet, players need to see new report        }        // need at least one entity in the game for the lounge phase to end        if (!game.phaseHasTurns(game.getPhase())        && (game.getPhase() != Game.PHASE_LOUNGE || game.getNoOfEntities() > 0)) {            endCurrentPhase();        }    }