don't show award if failed

This commit is contained in:
AJ Kelly
2012-03-31 13:25:41 -05:00
parent ca281aa83f
commit e84647bd46
@@ -128,7 +128,7 @@ for pn in ivalues(PlayerNumber) do
SetCommand=function(self)
local tStats = THEME:GetMetric(Var "LoadingScreen", "Summary") and STATSMAN:GetAccumPlayedStageStats() or STATSMAN:GetCurStageStats();
tStats = tStats:GetPlayerStageStats(pn);
if tStats:GetStageAward() then
if tStats:GetStageAward() and not tStats:GetFailed() then
self:settext( THEME:GetString( "StageAward", ToEnumShortString( tStats:GetStageAward() ) ) );
else
self:settext( "" );