Lua should not depend on ThemeManager

This commit is contained in:
Glenn Maynard
2005-01-09 01:31:06 +00:00
parent 223ca00728
commit 3c8e26369b
5 changed files with 39 additions and 28 deletions
+1 -1
View File
@@ -538,7 +538,7 @@ void ScreenOptionsMaster::ExportOptions()
if( ChangeMask & OPT_APPLY_ASPECT_RATIO )
{
Lua::UpdateGlobals(); // This needs to be done before resetting the projection matrix below
THEME->UpdateLuaGlobals(); // This needs to be done before resetting the projection matrix below
SCREENMAN->ThemeChanged(); // recreate ScreenSystemLayer and SharedBGA
}