mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
If the EntitlementsManager isn't ready default to owning it
This commit is contained in:
parent
804ef01808
commit
e5c8ed9255
@ -110,7 +110,12 @@ namespace NewHorizons
|
||||
public StarSystemEvent OnStarSystemLoaded = new();
|
||||
public StarSystemEvent OnPlanetLoaded = new();
|
||||
|
||||
public static bool HasDLC { get => EntitlementsManager.IsDlcOwned() == EntitlementsManager.AsyncOwnershipStatus.Owned; }
|
||||
/// <summary>
|
||||
/// Depending on platform, the AsyncOwnershipStatus might not be ready by the time we go to check it.
|
||||
/// If that happens, I guess we just have to assume they do own the DLC.
|
||||
/// Better to false positive than false negative and annoy people every time they launch the game when they do own the DLC
|
||||
/// </summary>
|
||||
public static bool HasDLC { get => EntitlementsManager.IsDlcOwned() != EntitlementsManager.AsyncOwnershipStatus.NotOwned; }
|
||||
|
||||
public static StarSystemConfig GetCurrentSystemConfig => SystemDict[Instance.CurrentStarSystem].Config;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user