diff --git a/res/scoreboard.js b/res/scoreboard.js index 9489fbb..47afbe3 100644 --- a/res/scoreboard.js +++ b/res/scoreboard.js @@ -245,7 +245,7 @@ function transition(newstate) { */ var notices = { - "banana": '' + "banana": '' }; var notice_timer; @@ -628,10 +628,10 @@ function fgColor(color) { for (var i = 0; i < 3; i += 1) { v += parseInt(color.substr(1+i*2, 2), 16) } - if (v / 3 >= 0x88) { - return "#000000" - } else { + if (v / 3 < 0x88) { return "#ffffff" + } else { + return "#000000" } }