Commit 3007d9dd authored by pixeldesu's avatar pixeldesu

fix: event not triggered because random number is set too low

parent 85f67093
......@@ -164,7 +164,7 @@ progressTimer = ->
eventTimer = ->
currPos = 0
NProgress.done()
ev = Math.floor((Math.random() * 10000000) % 7)
ev = Math.floor((Math.random() * 10000000) % 8)
console.log "Event #{ev}"
......
......@@ -174,7 +174,7 @@
var ev, f, g, i, message, title, w;
currPos = 0;
NProgress.done();
ev = Math.floor((Math.random() * 10000000) % 7);
ev = Math.floor((Math.random() * 10000000) % 8);
console.log("Event " + ev);
switch (ev) {
case 0:
......
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 to comment