Fix "sm plugins refresh" not refreshing changed plugins.
This commit is contained in:
parent
0bb2dc32af
commit
52514a96bd
@ -2312,6 +2312,7 @@ void CPluginManager::OnRootConsoleCommand(const char *cmdname, const CCommand &c
|
|||||||
}
|
}
|
||||||
else if (strcmp(cmd, "refresh") == 0)
|
else if (strcmp(cmd, "refresh") == 0)
|
||||||
{
|
{
|
||||||
|
RefreshAll();
|
||||||
smcore.DoGlobalPluginLoads();
|
smcore.DoGlobalPluginLoads();
|
||||||
rootmenu->ConsolePrint("[SM] The plugin list has been refreshed and reloaded.");
|
rootmenu->ConsolePrint("[SM] The plugin list has been refreshed and reloaded.");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user