]> git.sesse.net Git - ultimatescore/commitdiff
Use common name and not team code for ranking lists.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 12 Oct 2019 12:47:30 +0000 (14:47 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 12 Oct 2019 12:47:30 +0000 (14:47 +0200)
update_sheets.js

index 2115b8ce24ac2489fa0bca2d6e46c2ddf10dbd55..7867141460371be0a862db61f4b9f5061206a5cc 100644 (file)
@@ -88,7 +88,7 @@ function publish_group_rank(group_name)
                for (let i = 0; i < teams.length; ++i) {
                        let row = ultimateconfig['ranking_list_start_row'] + i;
                        updates.push({ "range": cols[0] + row, "values": [ [ teams[i].rank ] ] });
-                       updates.push({ "range": cols[1] + row, "values": [ [ teams[i].shortname ] ] });
+                       updates.push({ "range": cols[1] + row, "values": [ [ teams[i].mediumname ] ] });
                        updates.push({ "range": cols[2] + row, "values": [ [ teams[i].pts ] ] });
                }