diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2024-06-09 12:18:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-09 12:18:17 +0200 |
| commit | 88c386d74d7d94ec16d4d84ed674eb51e31647ac (patch) | |
| tree | adf0b2537f12d11d8df77f68a84926d15b063554 /src/modinforegular.cpp | |
| parent | c43535f5bcf1043c3b9c00c77967267cf1acf60f (diff) | |
Refactoring of game features for better management. (#2043)
Diffstat (limited to 'src/modinforegular.cpp')
| -rw-r--r-- | src/modinforegular.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modinforegular.cpp b/src/modinforegular.cpp index c79fc574..d3ff6547 100644 --- a/src/modinforegular.cpp +++ b/src/modinforegular.cpp @@ -703,7 +703,8 @@ std::vector<ModInfo::EFlag> ModInfoRegular::getFlags() const std::set<int> ModInfoRegular::doGetContents() const { - ModDataContent* contentFeature = m_Core.managedGame()->feature<ModDataContent>(); + auto contentFeature = + m_Core.pluginContainer().gameFeatures().gameFeature<ModDataContent>(); if (contentFeature) { auto result = contentFeature->getContentsFor(fileTree()); |
