]> git.sesse.net Git - ultimatescore/commitdiff
Add a comment about what “Mark game” means.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 17 Feb 2020 23:54:56 +0000 (00:54 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 17 Feb 2020 23:54:56 +0000 (00:54 +0100)
update_sheets.js

index 1459ae181bc00ceee5a9e3d7587a97f9b0adda67..5794b6f608dd3e8a29e0b8ff61c6fdbe824a87c9 100644 (file)
@@ -311,6 +311,9 @@ function fill_playoff(replacements, teams) {
                                        replacements.unshift(["L " + game_name2, team1]);
                                }
                        } else if (game[5]) {
+                               // No score yet, so write the name of the game (e.g. “L-semi 1”)
+                               // where the score would normally be, to mark what this game is called.
+                               // This is useful with the limited space on the tablet.
                                score1 = score2 = "";
                                updates.push({ "range": cell_score1, "values": [ [ game[4] ] ] });
                        }