Skip to content

Commit

Permalink
Merge branch 'dev' into translations
Browse files Browse the repository at this point in the history
  • Loading branch information
xen-42 committed Apr 18, 2024
2 parents af185a2 + f414bdd commit fcb8574
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/OWML.ModHelper.Menus/NewMenuSystem/MenuManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,14 @@ void SaveConfig()

var settingObject = setting as JObject;

if (settingObject["dlcOnly"].ToObject<bool>())
{
if (EntitlementsManager.IsDlcOwned() == EntitlementsManager.AsyncOwnershipStatus.NotOwned)
{
continue;
}
}

if (settingObject != default(JObject))
{
if (settingObject["title"] != null)
Expand Down

0 comments on commit fcb8574

Please sign in to comment.