LoadingScreen is a global.

This commit is contained in:
Steve Checkoway
2006-10-14 07:00:31 +00:00
parent 2568284699
commit 4195f10b80
+2 -2
View File
@@ -50,12 +50,12 @@ 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.
function ScreenMetric( sName )
local sClass = P.LoadingScreen;
local sClass = LoadingScreen;
return THEME:GetMetric( sClass, sName )
end
function ScreenString( sName )
local sClass = P.LoadingScreen;
local sClass = LoadingScreen;
return THEME:GetString( sClass, sName )
end