fix hawkbar's eye of the universe bug (#1050)

## Bug fixes

- 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:
Will Corby 2025-02-15 19:07:03 -08:00 committed by GitHub
commit cb17ba061e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
}