Removed null from game.end()