From 4e2806c951058c5750d839d46508b4953cc3473e Mon Sep 17 00:00:00 2001 From: Headline Date: Sun, 21 Jun 2020 23:31:52 -0700 Subject: [PATCH] Notify plugin reloads on next frame (#1292) --- core/logic/PluginSys.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/logic/PluginSys.cpp b/core/logic/PluginSys.cpp index fef36d54..df6ef4b3 100644 --- a/core/logic/PluginSys.cpp +++ b/core/logic/PluginSys.cpp @@ -2032,7 +2032,8 @@ void CPluginManager::OnRootConsoleCommand(const char *cmdname, const ICommandArg //the unload/reload attempt next frame will print a message case PluginState::WaitingToUnload: case PluginState::WaitingToUnloadAndReload: - return; + rootmenu->ConsolePrint("[SM] Plugin %s will be reloaded on the next frame.", name); + break; default: rootmenu->ConsolePrint("[SM] Failed to reload plugin %s.", name);