Merge pull request #257 from alliedmodders/sm-plugins-refresh

Fix "sm plugins refresh" not refreshing changed plugins (r=dvander).
This commit is contained in:
Nicholas Hastings 2015-01-31 15:31:49 -05:00
commit a88b447327

View File

@ -2312,6 +2312,7 @@ void CPluginManager::OnRootConsoleCommand(const char *cmdname, const CCommand &c
}
else if (strcmp(cmd, "refresh") == 0)
{
RefreshAll();
smcore.DoGlobalPluginLoads();
rootmenu->ConsolePrint("[SM] The plugin list has been refreshed and reloaded.");
return;