diff --git a/src/helpers/array.ts b/src/helpers/array.ts index e2708f0..f8663de 100644 --- a/src/helpers/array.ts +++ b/src/helpers/array.ts @@ -135,6 +135,7 @@ export function getObject( game: string, object: 'yaw' | 'aliases' | 'film' | 'name' ) { - const value = map.get(game) ?? aliasesMap.get(game) + const value = + map.get(game.toLowerCase()) ?? aliasesMap.get(game.toLowerCase()) return value ? value[object] ?? null : null }