move call to the game-end notification and supply winning team as parameter