making sure an blank mode cant be the result of a change mode vote

This commit is contained in:
Miniature
2012-03-23 19:10:22 +10:30
parent 494908fef7
commit bc35ca8950

View File

@@ -58,7 +58,7 @@
calcwin()
if(winner == "none")
if(!winner || winner == "" || winner == "none")
winner = "default"
if(mode == 2)