fix error

This commit is contained in:
AJ Kelly
2011-08-07 18:27:15 -05:00
parent d864a3de0e
commit 2dd0c264da
2 changed files with 10 additions and 4 deletions
@@ -5,7 +5,10 @@ local record = stats:GetMachineHighScoreIndex()
local hasMachineRecord = record ~= -1
return LoadFont("Common normal")..{
Text=string.format(THEME:GetString("ScreenEvaluation", "MachineRecord"), record+1);
InitCommand=cmd(zoom,0.55;shadowlength,1;NoStroke;glowshift;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,0.25"));
BeginCommand=cmd(visible,hasMachineRecord;);
BeginCommand=function(self)
self:visible(hasMachineRecord;);
local text = string.format(THEME:GetString("ScreenEvaluation", "MachineRecord"), record+1)
self:settext(text);
end;
};