diff --git a/stepmania/Themes/default/BGAnimations/ScreenProfileLoad overlay.lua b/stepmania/Themes/default/BGAnimations/ScreenProfileLoad overlay.lua new file mode 100755 index 0000000000..f889bd641a --- /dev/null +++ b/stepmania/Themes/default/BGAnimations/ScreenProfileLoad overlay.lua @@ -0,0 +1,22 @@ +local t = Def.ActorFrame { }; + +t[#t+1] = LoadActor( THEME:GetPathB("ScreenWithMenuElements","underlay") ); + +t[#t+1] = LoadActor( THEME:GetPathB("", "_moveon") ) .. { + InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y); +}; + +t[#t+1] = Def.Actor { + BeginCommand=function(self) + if SCREENMAN:GetTopScreen():HaveProfileToLoad() then + self:sleep(0.3); + end; + self:queuecommand("Load"); + end; + LoadCommand=function() + SCREENMAN:GetTopScreen():Continue(); + end; +}; + +return t; +