Skip to content

Commit

Permalink
V1.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Revadike committed Apr 29, 2022
1 parent 6b24614 commit 97708a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Steam Web Integration.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// @run-at document-start
// @supportURL https://github.com/Revadike/SteamWebIntegration/issues/
// @updateURL https://github.com/Revadike/SteamWebIntegration/raw/master/Steam%20Web%20Integration.user.js
// @version 1.12.0
// @version 1.12.1
// ==/UserScript==

// ==Code==
Expand Down Expand Up @@ -416,7 +416,8 @@ function doApp(elem, wishlist, ownedApps, ignoredApps, followedApps, decommissio
if (settings.wantDLC && dlc && dlc[appID]) { // if DLC and enabled
const base = dlc[appID].base_appID;
const ownsBase = Boolean(ownedApps[base]);
html += getIconHTML(settings.dlcColor, `${subject} (${appID}) is downloadable content for an ${ownsBase ? "" : "un"}owned base game (${base})`, dlclcs, settings.dlcIcon); // ⇩
const extraIcon = `<span style="color: ${ownsBase ? settings.ownedColor : settings.unownedColor};">${ownsBase ? "⁺" : "⁻"}</span>`;
html += getIconHTML(settings.dlcColor, `${subject} (${appID}) is downloadable content for an ${ownsBase ? "" : "un"}owned base game (${base})`, dlclcs, settings.dlcIcon + extraIcon); // ⇩
iconsEncoding += 6;
}

Expand Down

0 comments on commit 97708a9

Please sign in to comment.