MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ReloadMod

Method ReloadMod

Source/Internal/modloading.cpp:2470–2476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2468}
2469
2470void 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
2478void ModLoading::Reload() {
2479 DetectMods();

Callers

nothing calls this directly

Calls 2

endMethod · 0.45
ReloadMethod · 0.45

Tested by

no test coverage detected