Attempt to fix some bugs

- Fix team points so that they are reset when the game ends
- Prevent connecting to the game when the game has ended
Merge branch 'hotfix/0.13.1'