refactor: move general info from Mod to Resource

This allows us to create other resources that are not Mods, but can
still share a significant portion of code.

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow committed 2022-08-20 10:41:59 -03:00
1 parent 2d63c86022
commit 3225f514f6
9 files changed
+150 -110

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ void EnsureMetadataTask::executeTask()
}
// Folders don't have metadata
if (mod->type() == Mod::MOD_FOLDER) {
if (mod->type() == ResourceType::FOLDER) {
emitReady(mod);
}
}