stupid variable name fix

This commit is contained in:
mehbark 2023-03-29 22:15:25 -04:00
parent dc20279d02
commit 95499d7ae6
2 changed files with 4 additions and 4 deletions

View file

@ -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: !

View file

@ -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;