not necessary to reInit Lua on a theme change

This commit is contained in:
Chris Danford
2005-01-24 02:14:58 +00:00
parent b055671a63
commit f4de06361d
-2
View File
@@ -276,8 +276,6 @@ void ThemeManager::SwitchThemeAndLanguage( const CString &sThemeName, const CStr
void ThemeManager::UpdateLuaGlobals()
{
LUA->Init();
/* Important: explicitly refresh cached metrics that we use. */
THEME_SCREEN_WIDTH.Read();
THEME_SCREEN_HEIGHT.Read();