21 lines
507 B
Lua
21 lines
507 B
Lua
return Def.ActorFrame {
|
|
BeginCommand=function(self)
|
|
self:visible(false);
|
|
if SCREENMAN:GetTopScreen():HaveProfileToSave() then
|
|
self:visible(true);
|
|
self:sleep(1);
|
|
end;
|
|
self:queuecommand("Save");
|
|
end;
|
|
SaveCommand=function(self)
|
|
SCREENMAN:GetTopScreen():Continue();
|
|
end;
|
|
--
|
|
Draw.Box(SCREEN_WIDTH,50)..{
|
|
InitCommand=cmd(Center);
|
|
};
|
|
LoadFont("_arial black 20px")..{
|
|
Text="Saving Profiles...";
|
|
InitCommand=cmd(Center;skewx,-0.1;diffuse,color("#000000");Stroke,color("#ffffff"));
|
|
};
|
|
} |