mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
Merge branch 'master' of github.com:gamedig/node-gamedig
This commit is contained in:
commit
e89cb125b2
1 changed files with 2 additions and 2 deletions
|
|
@ -12,10 +12,10 @@ export const lookup = (options) => {
|
|||
}
|
||||
|
||||
let game = games[type]
|
||||
|
||||
|
||||
if (options.checkOldIDs) {
|
||||
Object.keys(games).forEach((id) => {
|
||||
if (games[id]?.extra.old_id) {
|
||||
if (games[id]?.extra?.old_id === type) {
|
||||
game = games[id]
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue