if (team != Player.TEAM_NONE && !teamKnownAlive[team]) {
if (team == Player.TEAM_NONE) { unteamedAlive = true; } else if (!teamKnownAlive[team]) {
    public boolean victory() {        if (forceVictory) {            return true;        }                if (!game.getOptions().booleanOption("check_victory")) {            return false;        }                // is there only one player left with mechs?        int playersAlive = 0;        int teamsAlive = 0;        boolean teamKnownAlive[] = new boolean[Player.MAX_TEAMS];        for (Enumeration e = game.getPlayers(); e.hasMoreElements();) {            Player player = (Player)e.nextElement();            int team = player.getTeam();            if (game.getLiveEntitiesOwnedBy(player) > 0) {                playersAlive++;                if (team != Player.TEAM_NONE && !teamKnownAlive[team]) {                    teamsAlive++;                    teamKnownAlive[team] = true;                }            }        }                return playersAlive == 1 || teamsAlive == 1;    }