diff --git a/core/systems/PluginSys.cpp b/core/systems/PluginSys.cpp index 6ee2ed80..4219c808 100644 --- a/core/systems/PluginSys.cpp +++ b/core/systems/PluginSys.cpp @@ -932,6 +932,8 @@ LoadRes CPluginManager::_LoadPlugin(CPlugin **_plugin, const char *path, bool de { /* Autoload any modules */ LoadOrRequireExtensions(pPlugin, 1, error, maxlength); + } else { + pPlugin->SetErrorState(Plugin_Failed, "%s", error); } }