Skip to content

Commit 4e2806c

Browse files
authored
Notify plugin reloads on next frame (#1292)
1 parent 7e0dd1f commit 4e2806c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/logic/PluginSys.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2032,7 +2032,8 @@ void CPluginManager::OnRootConsoleCommand(const char *cmdname, const ICommandArg
20322032
//the unload/reload attempt next frame will print a message
20332033
case PluginState::WaitingToUnload:
20342034
case PluginState::WaitingToUnloadAndReload:
2035-
return;
2035+
rootmenu->ConsolePrint("[SM] Plugin %s will be reloaded on the next frame.", name);
2036+
break;
20362037

20372038
default:
20382039
rootmenu->ConsolePrint("[SM] Failed to reload plugin %s.", name);

0 commit comments

Comments
 (0)