colour the killer's name in ranking table

This commit is contained in:
Adam Thomas 2014-05-05 09:06:02 +10:00 committed by Neale Pickett
parent e0947dcc57
commit 962e08bd50
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ END {
topscore = score[id]; topscore = score[id];
} }
if (killer[id]) { if (killer[id]) {
reason[id] = reason[id] " (" name[killer[id]] ")"; reason[id] = reason[id] " (<span style='color:" color[killer[id]] ";'>" name[killer[id]] "</span>)";
} }
# XXX: track points a different way # XXX: track points a different way
# print score[id] >> (path[id] "/points"); # print score[id] >> (path[id] "/points");