Commit e3db9d06 by doszhang

dos

parent 0b2f515a
......@@ -154,7 +154,7 @@ function randomFlagArr(length) {
function getRand(arr) {
let i = RandomNumBoth(0, flag.length - 1);
if (i.indexOf(arr) == -1) {
if (arr.indexOf(i) == -1) {
return i;
} else {
return getRand(arr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment