summaryrefslogtreecommitdiff
path: root/src/base_media_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base_media_base.h')
-rw-r--r--src/base_media_base.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base_media_base.h b/src/base_media_base.h
index 4b43c24fd..88b78374b 100644
--- a/src/base_media_base.h
+++ b/src/base_media_base.h
@@ -170,7 +170,9 @@ public:
static uint FindSets()
{
BaseMedia<Tbase_set> fs;
- return fs.Scan(GetExtension(), Tbase_set::SUBDIR);
+ /* GM_DIR == music set. Music sets don't support tars,
+ * so there is no need to search for tars in that case. */
+ return fs.Scan(GetExtension(), Tbase_set::SUBDIR, Tbase_set::SUBDIR != GM_DIR);
}
/**