mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +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.
|
||||
* @type {string}
|
||||
*/
|
||||
this.game = data.game || this.game;
|
||||
this.game = data.game;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user