X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=9f58b185167461347841aa769018608f1bbfb9ab;hb=4d04bc8a6c2d5e410d519b25164613c5e5c2d160;hp=e3b32e6aa68e004a27daa7963b2cbf7a7ff0ea70;hpb=444104622a627bfee533f8828b35f2acc68c8579;p=xboard.git diff --git a/backend.c b/backend.c index e3b32e6..9f58b18 100644 --- a/backend.c +++ b/backend.c @@ -10437,6 +10437,7 @@ GameEnds(result, resultDetails, whosays) if(waitingForGame) resChar = ' '; // quit while waiting for round sync: unreserve already reserved game if(appData.tourneyFile[0]){ // [HGM] we are in a tourney; update tourney file with game result + if(appData.afterGame && appData.afterGame[0]) RunCommand(appData.afterGame); ReserveGame(nextGame, resChar); // sets nextGame if(nextGame > appData.matchGames) appData.tourneyFile[0] = 0, ranking = TourneyStandings(3); // tourney is done else ranking = strdup("busy"); //suppress popup when aborted but not finished