if ( this.isIgnoringEvents() ) { return; }
    public void actionPerformed(ActionEvent ev) {        if (ev.getSource() == butDone) {          boolean anyDelayed = false;                    Enumeration enum = client.getEntities();                    while ( enum.hasMoreElements() ) {            Entity en = (Entity)enum.nextElement();                        if ( en.getDeployRound() > 0 ) {              anyDelayed = true;              break;            }          }                    if ( anyDelayed && (client.getLocalPlayer().getStartingPos() == 0) ) {            new AlertDialog(client.frame, "Need deployment", "Players with delayed deployment can not use the 'any' starting position. Please select a direction to start from.").show();            return;          }                       boolean done = !client.getLocalPlayer().isDone();            client.sendDone(done);            refreshDoneButton(done);        } else if (ev.getSource() == butLoad) {