| 2406 | } |
| 2407 | |
| 2408 | std::vector<ModInstance*> ModLoading::GetLocalModsMatchingID(std::string id) { |
| 2409 | std::vector<ModInstance*> lmods; |
| 2410 | for (auto& mod : mods) { |
| 2411 | if (strmtch(mod->id, id) && mod->modsource == ModSourceLocalModFolder) { |
| 2412 | lmods.push_back(mod); |
| 2413 | } |
| 2414 | } |
| 2415 | return lmods; |
| 2416 | } |
| 2417 | |
| 2418 | std::vector<ModInstance*> ModLoading::GetLocalMods() { |
| 2419 | std::vector<ModInstance*> lmods; |
no test coverage detected