Skip to content

Commit

Permalink
Add horizontalGrid BPM image for Non-Steam Games
Browse files Browse the repository at this point in the history
  • Loading branch information
SantaHey authored and kongomongo committed May 1, 2021
1 parent 4821109 commit 1371cff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/js/Search.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ class Search extends React.Component {
this.setState({
items: clonedItems,
});

//Add horizontalGrid BPM image for Non-Steam Games
if (game.appidold && location.state.assetType == 'horizontalGrid') {
Steam.addAsset(location.state.assetType, game.appidold, item.url);
}

const downloadPromises = [];

Expand Down

0 comments on commit 1371cff

Please sign in to comment.