Commit 182a8c40 authored by mercury233's avatar mercury233

time limit for ai room

parent 457b94b1
......@@ -894,6 +894,7 @@ class Room
else if name[0...3] == 'AI#'
@hostinfo.rule = 2
@hostinfo.lflist = -1
@hostinfo.time_limit = 999
else if (param = name.match /^(\d)(\d)(T|F)(T|F)(T|F)(\d+),(\d+),(\d+)/i)
@hostinfo.rule = parseInt(param[1])
......
......@@ -1137,6 +1137,7 @@
} else if (name.slice(0, 3) === 'AI#') {
this.hostinfo.rule = 2;
this.hostinfo.lflist = -1;
this.hostinfo.time_limit = 999;
} else if ((param = name.match(/^(\d)(\d)(T|F)(T|F)(T|F)(\d+),(\d+),(\d+)/i))) {
this.hostinfo.rule = parseInt(param[1]);
this.hostinfo.mode = parseInt(param[2]);
......
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