We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ade43 commit 5b78807Copy full SHA for 5b78807
background/sources/collections/haloruns.js
@@ -24,8 +24,11 @@ export default (callback) => {
24
let gameSplit = $col2.children[1].textContent.split(' ');
25
let game = gameSplit.slice(0, -1).join(' ');
26
27
- // "Halo 5" is actually called "Halo 5: Guardians"
28
- if (game === 'Halo 5') {
+ // Use Halo game names that Twitch will find.
+ game = game.replace(/ MCC$/, '');
29
+ if (game === 'Halo CE') {
30
+ game = 'Halo: Combat Evolved';
31
+ } else if (game === 'Halo 5') {
32
game += ': Guardians';
33
}
34
let difficulty = gameSplit[gameSplit.length - 1];
0 commit comments