Skip to content

Commit

Permalink
Fix issue with registerFeature() without games.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 committed Jul 28, 2024
1 parent 19e6d83 commit ec2f74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamefeaturesproxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ bool GameFeaturesProxy::registerFeature(MOBase::IPluginGame* game,
bool GameFeaturesProxy::registerFeature(std::shared_ptr<MOBase::GameFeature> feature,
int priority, bool replace)
{
return registerFeature({}, feature, priority, replace);
return registerFeature(QStringList(), feature, priority, replace);
}

bool GameFeaturesProxy::unregisterFeature(std::shared_ptr<MOBase::GameFeature> feature)
Expand Down

0 comments on commit ec2f74f

Please sign in to comment.