1
0

Added cPluginManager:GetPluginsPath() to the Lua API.

This commit is contained in:
madmaxoft
2014-02-17 23:36:39 +01:00
parent 865ae82114
commit 1a26f05ed0
2 changed files with 5 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ void cPluginManager::ReloadPlugins(void)
void cPluginManager::FindPlugins(void)
{
AString PluginsPath = FILE_IO_PREFIX + AString( "Plugins/" );
AString PluginsPath = GetPluginsPath() + "/";
// First get a clean list of only the currently running plugins, we don't want to mess those up
for (PluginMap::iterator itr = m_Plugins.begin(); itr != m_Plugins.end();)