Merge branch 'PetFixes' of https://github.com/jadebenn/DarkflameServer into PetFixes

This commit is contained in:
jadebenn 2023-11-19 16:46:34 -06:00
commit 81a54e7e0f

View File

@ -44,7 +44,7 @@ std::vector<CDFeatureGating> CDFeatureGatingTable::Query(std::function<bool(CDFe
bool CDFeatureGatingTable::FeatureUnlocked(const CDFeatureGating& feature) const {
for (const auto& entry : entries) {
if (entry.featureName == feature.featureName && entry >= feature) {
if (entry.featureName == feature.featureName && feature >= entry) {
return true;
}
}