This commit is contained in:
Amish Shah
2016-09-14 16:24:01 +01:00
parent 7cb2e8eef7
commit 69f947dfcb
2 changed files with 7 additions and 2 deletions

View File

@@ -152,7 +152,12 @@ class User {
if (equal) {
if (user.status) equal = this.status === user.status;
if (equal && user.game) equal = this.game === user.game;
if (equal && user.game) {
equal = this.game &&
this.game.name === user.game.name &&
this.game.type === user.game.type &&
this.game.url === user.game.url;
}
}
return equal;