diff --git a/main.js b/main.js index e62683b..f93fed3 100644 --- a/main.js +++ b/main.js @@ -708,8 +708,8 @@ function append_players_to(n) { var wins = 0; // extraordinarily necessary function wins_exclamation_marks() { - let base_10_log_of_tens = Math.floor(Math.log10(wins)); - return base_10_log_of_tens > 0 ? "!".repeat(base_10_log_of_tens) : "."; + let base_10_log_of_wins = Math.floor(Math.log10(wins)); + return base_10_log_of_wins > 0 ? "!".repeat(base_10_log_of_wins) : "."; } var in_game_over = false; // ERROR: ! diff --git a/main.ts b/main.ts index 5c911d6..8c369ec 100644 --- a/main.ts +++ b/main.ts @@ -859,8 +859,8 @@ function append_players_to(n: Node) { var wins = 0; // extraordinarily necessary function wins_exclamation_marks() { - let base_10_log_of_tens = Math.floor(Math.log10(wins)); - return base_10_log_of_tens > 0 ? "!".repeat(base_10_log_of_tens) : "."; + let base_10_log_of_wins = Math.floor(Math.log10(wins)); + return base_10_log_of_wins > 0 ? "!".repeat(base_10_log_of_wins) : "."; } var in_game_over = false;