diff --git a/scripts/games/app.js b/scripts/games/app.js index 975748b..16d1b10 100644 --- a/scripts/games/app.js +++ b/scripts/games/app.js @@ -128,8 +128,8 @@ function processGame(game) { let trimmedTitle = model.title.toLowerCase(); toTrim.forEach(trim => { - if (trimmedTitle.startsWith(trim)) { - trimmedTitle = trimmedTitle.substr(trim.length + 1); + if (trimmedTitle.startsWith(trim + " ")) { + trimmedTitle = trimmedTitle.substr(trim.length + 2); } });