From 408e11348d55389a785fcf5ec94964c055e168e4 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Sat, 14 Feb 2015 04:21:07 +0100 Subject: [PATCH] show correct medal --- index | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index b/index index 01f169f..9fd4609 100755 --- a/index +++ b/index @@ -176,7 +176,7 @@ then do if ! (( shown["$stat silver"] )) then - tableline+=( "$(print_medal $timestamp $stat ${upsilver[$stat]:-0} gold)" ) + tableline+=( "$(print_medal $timestamp $stat ${upsilver[$stat]:-0} silver)" ) tableline+=( '
' ) shown["$stat silver"]=1 fi @@ -190,7 +190,7 @@ then (( count < lvlsilver[level] - silvercount )) && never=1 if ! (( shown["$stat silver"] )) then - tableline+=( "$(print_medal $timestamp $stat ${upsilver[$stat]:-0} gold)" ) + tableline+=( "$(print_medal $timestamp $stat ${upsilver[$stat]:-0} silver)" ) tableline+=( '
' ) shown["$stat silver"]=1 fi @@ -254,7 +254,7 @@ then do if ! (( shown["$stat platinum"] )) then - tableline+=( "$(print_medal $timestamp $stat ${upplatinum[$stat]:-0} gold)" ) + tableline+=( "$(print_medal $timestamp $stat ${upplatinum[$stat]:-0} platinum)" ) tableline+=( '
' ) shown["$stat platinum"]=1 fi @@ -268,7 +268,7 @@ then (( count < lvlplatinum[level] - platinumcount )) && never=1 if ! (( shown["$stat platinum"] )) then - tableline+=( "$(print_medal $timestamp $stat ${upplatinum[$stat]:-0} gold)" ) + tableline+=( "$(print_medal $timestamp $stat ${upplatinum[$stat]:-0} platinum)" ) tableline+=( '
' ) shown["$stat platinum"]=1 fi @@ -293,7 +293,7 @@ then do if ! (( shown["$stat black"] )) then - tableline+=( "$(print_medal $timestamp $stat ${upblack[$stat]:-0} gold)" ) + tableline+=( "$(print_medal $timestamp $stat ${upblack[$stat]:-0} black)" ) tableline+=( '
' ) shown["$stat black"]=1 fi @@ -307,7 +307,7 @@ then (( count < lvlblack[level] - blackcount )) && never=1 if ! (( shown["$stat black"] )) then - tableline+=( "$(print_medal $timestamp $stat ${upblack[$stat]:-0} gold)" ) + tableline+=( "$(print_medal $timestamp $stat ${upblack[$stat]:-0} black)" ) tableline+=( '
' ) shown["$stat black"]=1 fi