Fix "sm plugins refresh" not refreshing changed plugins.

This commit is contained in:
Nicholas Hastings 2015-01-31 15:28:21 -05:00
parent 0bb2dc32af
commit 52514a96bd

View File

@ -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;