if (connected) { connected = false; die(); } if (!host.equals("localhost")) { game.processGameEvent(new GamePlayerDisconnectedEvent(this, getLocalPlayer()));
if (!disconnectFlag) { disconnectFlag = true; if (connected) { connected = false; die(); } if (!host.equals("localhost")) { game.processGameEvent(new GamePlayerDisconnectedEvent(this, getLocalPlayer())); }
    protected void disconnected() {        if (connected) {            connected = false;            die();        }        if (!host.equals("localhost")) { //$NON-NLS-1$            game.processGameEvent(new GamePlayerDisconnectedEvent(this, getLocalPlayer()));        }    }