fix hawkbar's eye of the universe bug

- fixes a bug at the eye of the universe where new horizons checks for a condition instead of a persistent condition
This commit is contained in:
AnonymousStrangerOW 2025-02-15 21:53:06 -05:00
parent 264db8b11f
commit 343e54888a

View File

@ -25,7 +25,7 @@ namespace NewHorizons.Builder.Props
travelerData.requirementsMet = false;
}
if (!string.IsNullOrEmpty(info.requiredPersistentCondition) && !DialogueConditionManager.SharedInstance.GetConditionState(info.requiredPersistentCondition))
if (!string.IsNullOrEmpty(info.requiredPersistentCondition) && !PlayerData.GetPersistentCondition(info.requiredPersistentCondition))
{
travelerData.requirementsMet = false;
}