This fixes the appearance of TLOZ, among others, with the regression introduced by the last push ( :P ).
This commit is contained in:
James 2017-06-19 17:05:33 +10:00 committed by GitHub
parent 869c2918a7
commit ea33fb8d95
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ function processGame(game) {
let trimmedTitle = model.title.toLowerCase();
toTrim.forEach(trim => {
if (trimmedTitle.startsWith(trim + " ")) {
trimmedTitle = trimmedTitle.substr(trim.length + 2);
trimmedTitle = trimmedTitle.substr(trim.length + 1);
}
});