add alias as an extra field
This commit is contained in:
parent
c317cfc760
commit
c9d8e00139
|
@ -14,7 +14,7 @@ export const lookup = (options) => {
|
|||
let game = games[type]
|
||||
|
||||
Object.keys(games).forEach((id) => {
|
||||
if (games[id].alias) game = games[id]
|
||||
if (games[id]?.extra?.alias) game = games[id]
|
||||
})
|
||||
|
||||
if (options.checkOldIDs) {
|
||||
|
|
Loading…
Reference in New Issue