diff --git a/bin/points b/bin/points index e7f42d5..96bd570 100755 --- a/bin/points +++ b/bin/points @@ -32,7 +32,7 @@ END { print " ],"; print " \"teams\": {"; - for (i in teamnames) { + for (i = 1; i <= nteams; i += 1) { if (i > 1) { print ","; } @@ -42,4 +42,4 @@ END { print ""; print " }"; print "}"; -} \ No newline at end of file +}