mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
Fix null game objects being defaulted to current game - fixes #666
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user