summaryrefslogtreecommitdiff
path: root/src/modinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modinfo.cpp')
-rw-r--r--src/modinfo.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp
index 59205b12..a0628bd8 100644
--- a/src/modinfo.cpp
+++ b/src/modinfo.cpp
@@ -287,7 +287,10 @@ int ModInfo::checkAllForUpdate(QObject *receiver)
int result = 0;
std::vector<int> modIDs;
- modIDs.push_back(GameInfo::instance().getNexusModID());
+ //I ought to store this, it's used elsewhere
+ IPluginGame *game = qApp->property("managed_game").value<IPluginGame*>();
+
+ modIDs.push_back(game->getNexusModOrganizerID());
for (const ModInfo::Ptr &mod : s_Collection) {
if (mod->canBeUpdated()) {