| 2468 | } |
| 2469 | |
| 2470 | void ModLoading::ReloadMod(const std::string& path) { |
| 2471 | std::vector<ModInstance*>::iterator modit = GetMod(path); |
| 2472 | LOGI << "Reload mod: " << path << std::endl; |
| 2473 | if (modit != mods.end()) { |
| 2474 | (*modit)->Reload(); |
| 2475 | } |
| 2476 | } |
| 2477 | |
| 2478 | void ModLoading::Reload() { |
| 2479 | DetectMods(); |