Merge branch 'master' of github.com:gamedig/node-gamedig
This commit is contained in:
commit
e89cb125b2
|
@ -12,10 +12,10 @@ export const lookup = (options) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
let game = games[type]
|
let game = games[type]
|
||||||
|
|
||||||
if (options.checkOldIDs) {
|
if (options.checkOldIDs) {
|
||||||
Object.keys(games).forEach((id) => {
|
Object.keys(games).forEach((id) => {
|
||||||
if (games[id]?.extra.old_id) {
|
if (games[id]?.extra?.old_id === type) {
|
||||||
game = games[id]
|
game = games[id]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue