Fix null game objects being defaulted to current game - fixes #666

This commit is contained in:
Amish Shah
2016-09-09 16:28:33 +01:00
parent 85fae72b7b
commit dbaaa8dc93
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ class User {
* The game that the user is playing, `null` if they aren't playing a game.
* @type {string}
*/
this.game = data.game || this.game;
this.game = data.game;
}
/**