From d0b8780fe6e9d7c75d75d323df1923eb5412b0fc Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Fri, 23 Mar 2007 13:48:56 +0000 Subject: [PATCH] LoadSongBackground() returns an actor for the song background and explicitly disables the dimension warning. --- stepmania/Themes/default/Scripts/Utilities.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/Themes/default/Scripts/Utilities.lua b/stepmania/Themes/default/Scripts/Utilities.lua index dc226cba24..e42b5c4db6 100644 --- a/stepmania/Themes/default/Scripts/Utilities.lua +++ b/stepmania/Themes/default/Scripts/Utilities.lua @@ -106,6 +106,10 @@ function GetSongBackground() return THEME:GetPathG("Common","fallback background") end +function LoadSongBackground() + return LoadActor( GetSongBackground() ) .. { DisableDimensionWarning=true; }; +end + -- (c) 2005 Glenn Maynard, Chris Danford -- All rights reserved. --