summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Clients/Nexus
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-04-30 18:52:19 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-04-30 18:52:19 -0400
commit3de9858c9b89d13cfb69662a2d9e0ce03ff0593a (patch)
tree7e7218a2fa0e9c492e8d708ffbd718eb9c446baa /src/SMAPI.Web/Framework/Clients/Nexus
parent9e8a7fa986329986b8f725a21c9b22fe347347bf (diff)
downloadSMAPI-3de9858c9b89d13cfb69662a2d9e0ce03ff0593a.tar.gz
SMAPI-3de9858c9b89d13cfb69662a2d9e0ce03ff0593a.tar.bz2
SMAPI-3de9858c9b89d13cfb69662a2d9e0ce03ff0593a.zip
fix update subkeys for Nexus mods marked as adult content
Diffstat (limited to 'src/SMAPI.Web/Framework/Clients/Nexus')
-rw-r--r--src/SMAPI.Web/Framework/Clients/Nexus/NexusClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Framework/Clients/Nexus/NexusClient.cs b/src/SMAPI.Web/Framework/Clients/Nexus/NexusClient.cs
index ef3ef22e..4ba94f81 100644
--- a/src/SMAPI.Web/Framework/Clients/Nexus/NexusClient.cs
+++ b/src/SMAPI.Web/Framework/Clients/Nexus/NexusClient.cs
@@ -186,7 +186,7 @@ namespace StardewModdingAPI.Web.Framework.Clients.Nexus
Version = SemanticVersion.TryParse(mod.Version, out ISemanticVersion version) ? version?.ToString() : mod.Version,
Url = this.GetModUrl(id),
Downloads = files.Files
- .Select(file => (IModDownload)new GenericModDownload(file.Name, null, file.FileVersion))
+ .Select(file => (IModDownload)new GenericModDownload(file.Name, file.Description, file.FileVersion))
.ToArray()
};
}