Please change the program so that results are recorded in players' statistice when the "Congratulation you have won the battle" message appears, not when you click on Next in the Results window. If the program crashes whilst we are in Results, the victory does not count.