From ea33fb8d95a8fddc2d23640d068a6dfb87a0fc88 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 19 Jun 2017 17:05:33 +1000 Subject: [PATCH] Fix typo This fixes the appearance of TLOZ, among others, with the regression introduced by the last push ( :P ). --- scripts/games/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/games/app.js b/scripts/games/app.js index 16d1b10..3d48414 100644 --- a/scripts/games/app.js +++ b/scripts/games/app.js @@ -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); } });