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 3fb2536 commit 56107cfCopy full SHA for 56107cf
modules/games.py
@@ -175,7 +175,7 @@ def get_name(self, deku_id: str):
175
def search(self, query: str, multiResult=False) -> Optional[dict]:
176
gameList = self.gameNamesCache
177
178
- # If the game we are comparing is really short (<=3 chars), do not allow a match if our search is longer.
+ # If our query isn't short (>5 chars), then filter out short game titles.
179
# This prevents things like 'a' being the best match for 'realMyst' and not 'realMyst: Masterpiece Edition'
180
if len(query) > 5:
181
gameList = [g for g in gameList if len(g['name']) > 5]
0 commit comments