From 0b4614a2d3dee49097b8131150df21ef585bf854 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 10 Jan 2014 01:23:06 +0300 Subject: fix mods loading from update server patches. --- src/gui/windows/updaterwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index dee1d209c..7ecfb0d7d 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -646,7 +646,10 @@ void UpdaterWindow::loadManaPlusUpdates(const std::string &dir, for (unsigned int updateIndex = 0, sz = static_cast( updateFiles.size()); updateIndex < sz; updateIndex ++) { - std::string name = updateFiles[updateIndex].name; + const UpdateFile &file = updateFiles[updateIndex]; + if (!file.group.empty()) + continue; + const std::string name = file.name; if (strStartWith(name, "manaplus_")) { struct stat statbuf; -- cgit v1.2.3-70-g09d2