Skip to content

Commit

Permalink
overlay/credits: Fix get of current game and status
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Apr 7, 2018
1 parent 59c19b6 commit 0be14c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/overlays/credits.js
Expand Up @@ -102,8 +102,8 @@ class Credits {
callback(null,
events.filter((o) => o.timestamp >= timestamp),
config.settings.broadcaster_username,
global.api.current.game,
global.api.current.status,
_.get(await global.db.engine.findOne('api.current', { key: 'game' }), 'value', 'n/a'),
_.get(await global.db.engine.findOne('api.current', { key: 'status' }), 'value', 'n/a'),
hosts.map((o) => o.username),
socials,
messages,
Expand Down

0 comments on commit 0be14c6

Please sign in to comment.