Skip to content
Snippets Groups Projects
Commit f31ae9d7 authored by mcmlxxix's avatar mcmlxxix
Browse files

don't display previous round winner if no score is present

parent 1bf751c3
Branches
Tags
No related merge requests found
......@@ -420,7 +420,7 @@ function boggle() {
}
}
if(data.winner) {
if(data.winner && data.winner.name !== undefined && data.winner.points > 0) {
console.gotoxy(48,18);
console.putmsg("\1c\1h" + data.winner.name);
console.gotoxy(75,18);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment