s/Lua/Scripts/ (we don't call the "Graphics" directory "Png/" ...)
This commit is contained in:
@@ -299,7 +299,7 @@ void ThemeManager::UpdateLuaGlobals()
|
|||||||
{
|
{
|
||||||
const CString &sThemeDir = GetThemeDirFromName( iter->sThemeName );
|
const CString &sThemeDir = GetThemeDirFromName( iter->sThemeName );
|
||||||
CStringArray asElementPaths;
|
CStringArray asElementPaths;
|
||||||
GetDirListing( sThemeDir + "Lua/*.lua", asElementPaths, false, true );
|
GetDirListing( sThemeDir + "Scripts/*.lua", asElementPaths, false, true );
|
||||||
for( unsigned i = 0; i < asElementPaths.size(); ++i )
|
for( unsigned i = 0; i < asElementPaths.size(); ++i )
|
||||||
{
|
{
|
||||||
const CString &sPath = asElementPaths[i];
|
const CString &sPath = asElementPaths[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user