Don't overwrite global Screen table.

This commit is contained in:
Colby Klein
2011-06-10 23:24:46 -07:00
parent 1b5853c5ea
commit fb8c45066a
+9 -10
View File
@@ -98,16 +98,15 @@ end
-- Get a metric from the currently-loading screen. This is only valid while loading
-- an actor, such as from File or InitCommand attributes; not from commands.
Screen = {
Metric = function ( sName )
local sClass = Var "LoadingScreen"
return THEME:GetMetric( sClass, sName )
end,
String = function ( sName )
local sClass = Var "LoadingScreen";
return THEME:GetString( sClass, sName )
end
};
Screen.Metric = function ( sName )
local sClass = Var "LoadingScreen"
return THEME:GetMetric( sClass, sName )
end
Screen.String = function ( sName )
local sClass = Var "LoadingScreen";
return THEME:GetString( sClass, sName )
end
function TextBannerAfterSet(self,param)
local Title=self:GetChild("Title");