mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-01-11 23:37:06 +00:00
Merge branch 'DarkflameUniverse:main' into PetFixes
This commit is contained in:
commit
9b9b5bcc25
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user