Skip to content

Commit

Permalink
- do not show par time when it's zero
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk authored and madame-rachelle committed May 14, 2019
1 parent 25ba1ba commit 5d59f29
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wadsrc/static/zscript/ui/statscreen/statscreen_sp.zs
Expand Up @@ -197,7 +197,11 @@ class DoomStatusScreen : StatusScreen
{
drawTimeFont (printFont, 160 - SP_TIMEX, SP_TIMEY + lh, cnt_total_time, tcolor);
}
drawTimeFont (printFont, 320 - SP_TIMEX, SP_TIMEY, cnt_par, tcolor);

if (wbs.partime)
{
drawTimeFont (printFont, 320 - SP_TIMEX, SP_TIMEY, cnt_par, tcolor);
}
}
}

Expand Down

0 comments on commit 5d59f29

Please sign in to comment.