Bugfix: rating update when game is over