Fixed SwitchThemeAndLanguage to run lua scripts when reloading the theme. Removed ForceThemeReload param from GameLoop::ChangeTheme.
This commit is contained in:
@@ -412,7 +412,7 @@ void ThemeManager::SwitchThemeAndLanguage( const RString &sThemeName_, const RSt
|
||||
// Clear the theme path cache. This caches language-specific graphic paths,
|
||||
// so do this even if only the language is changing.
|
||||
ClearThemePathCache();
|
||||
if( bThemeChanging )
|
||||
if(bThemeChanging || bForceThemeReload)
|
||||
{
|
||||
#if !defined(SMPACKAGE)
|
||||
// reload common sounds
|
||||
|
||||
Reference in New Issue
Block a user