fix some theme issues

This commit is contained in:
AJ Kelly
2011-08-24 13:07:15 -05:00
parent 4eb2fe5730
commit c238cfe698
2 changed files with 7 additions and 6 deletions
@@ -6,10 +6,11 @@ local t = LoadFont("ScreenGameplay","RemainingTime") .. {
Text="";
JudgmentMessageCommand=function(self,params)
if params.Player == PlayerNumber then
if params.TapNoteScore then
if params.TapNoteScore then
local tns = ToEnumShortString(params.TapNoteScore)
self:playcommand( "GainSeconds" );
self:playcommand( ToEnumShortString( params.TapNoteScore ) );
self:settextf( "%+1.1fs", PREFSMAN:GetPreference( string.format("TimeMeterSecondsChange%s", ToEnumShortString( params.TapNoteScore ) ) ) );
self:playcommand( tns );
self:settextf( "%+1.1fs", PREFSMAN:GetPreference( string.format("TimeMeterSecondsChange%s", tns) ) );
else
return
end