Minor fix to new emote method

This commit is contained in:
Calvin Montgomery 2017-03-02 18:53:34 -08:00
parent 70be35e3fa
commit 6672f5f75e

View file

@ -2659,7 +2659,7 @@ function loadEmotes(data) {
// Emotes with spaces can't be hashmapped
CHANNEL.badEmotes.push(e);
} else {
CHANNEL.emoteMap[e.name] = e.image;
CHANNEL.emoteMap[e.name] = e;
}
} else {
console.error("Rejecting invalid emote: " + JSON.stringify(e));