mirror of https://github.com/dirtbags/moth.git
Fix teams>10
This commit is contained in:
parent
4e7b4b8c36
commit
ad19b06cd5
|
@ -32,7 +32,7 @@ END {
|
||||||
print " ],";
|
print " ],";
|
||||||
print " \"teams\": {";
|
print " \"teams\": {";
|
||||||
|
|
||||||
for (i in teamnames) {
|
for (i = 1; i <= nteams; i += 1) {
|
||||||
if (i > 1) {
|
if (i > 1) {
|
||||||
print ",";
|
print ",";
|
||||||
}
|
}
|
||||||
|
@ -42,4 +42,4 @@ END {
|
||||||
print "";
|
print "";
|
||||||
print " }";
|
print " }";
|
||||||
print "}";
|
print "}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue