Commit 469def2f by Joe Holden

move race stats to new line

parent d8edd950
......@@ -120,8 +120,8 @@ function draw($json, $old, $climate, $duration, $refresh) {
$outcount = 0;
$climate->white()->inline($series . ': ');
$climate->lightBlue()->inline(sprintf("%s @ %s", $json->run_name, trim($json->track_name)));
$climate->white()->inline(", track length: ");
$climate->lightBlue()->inline(sprintf("%s @ %s\n", $json->run_name, trim($json->track_name)));
$climate->white()->inline("Track length: ");
$climate->lightGray()->inline($json->track_length . ' m');
$climate->white()->inline(", race length: ");
$climate->lightGray()->inline(($json->track_length * $json->laps_in_race) . ' m');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment