mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 05:52:05 +00:00
Fix null game objects being defaulted to current game - fixes #666
This commit is contained in:
parent
85fae72b7b
commit
dbaaa8dc93
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
|
|
@ -62,7 +62,7 @@ class User {
|
||||||
* The game that the user is playing, `null` if they aren't playing a game.
|
* The game that the user is playing, `null` if they aren't playing a game.
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
this.game = data.game || this.game;
|
this.game = data.game;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue