mirror of https://github.com/dirtbags/tanks.git
Make winners executable, print path
This commit is contained in:
parent
0fbca55a98
commit
89da05fad9
|
@ -5,7 +5,7 @@ BEGIN {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
tanks[$1] = $1;
|
tanks[$1] = $2;
|
||||||
if ($4 == "(nil)") {
|
if ($4 == "(nil)") {
|
||||||
p = $1;
|
p = $1;
|
||||||
} else {
|
} else {
|
||||||
|
@ -20,7 +20,7 @@ BEGIN {
|
||||||
END {
|
END {
|
||||||
for (id in tanks) {
|
for (id in tanks) {
|
||||||
if (score[id] == topscore) {
|
if (score[id] == topscore) {
|
||||||
print id;
|
print tanks[id];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue