Fixed SwitchThemeAndLanguage to run lua scripts when reloading the theme. Removed ForceThemeReload param from GameLoop::ChangeTheme.

This commit is contained in:
Kyzentun
2014-08-24 03:21:01 -06:00
parent 1ca6154c1a
commit 01442d193f
4 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -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