Quite possibly fix annoying bug Evie was complaining about

This commit is contained in:
Schuyler Cebulskie
2016-10-03 20:25:39 -04:00
parent c4e1e4f50f
commit e24c9c271e

View File

@@ -130,7 +130,7 @@ class ClientUser extends User {
let game = this.localPresence.game;
let afk = this.localPresence.afk || this.presence.afk;
if (!game) {
if (!game && this.presence.game) {
game = {
name: this.presence.game.name,
type: this.presence.game.type,