mirror of https://github.com/dirtbags/tanks.git
colour the killer's name in ranking table
This commit is contained in:
parent
e0947dcc57
commit
962e08bd50
2
rank.awk
2
rank.awk
|
@ -52,7 +52,7 @@ END {
|
|||
topscore = score[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
|
||||
# print score[id] >> (path[id] "/points");
|
||||
|
|
Loading…
Reference in New Issue