Commit 65b68d3e authored by nanahira's avatar nanahira

dynamic tag start lp

parent 0e5a7b71
Pipeline #36402 passed with stages
in 11 minutes and 7 seconds
...@@ -1346,7 +1346,7 @@ class Room ...@@ -1346,7 +1346,7 @@ class Room
@hostinfo.mode = 1 @hostinfo.mode = 1
else if name[0...2] == 'T#' else if name[0...2] == 'T#'
@hostinfo.mode = 2 @hostinfo.mode = 2
@hostinfo.start_lp = 16000 @hostinfo.start_lp = settings.hostinfo.start_lp * 2
else if name[0...3] == 'AI#' else if name[0...3] == 'AI#'
@hostinfo.rule = 5 @hostinfo.rule = 5
@hostinfo.lflist = -1 @hostinfo.lflist = -1
......
...@@ -1765,7 +1765,7 @@ ...@@ -1765,7 +1765,7 @@
this.hostinfo.mode = 1; this.hostinfo.mode = 1;
} else if (name.slice(0, 2) === 'T#') { } else if (name.slice(0, 2) === 'T#') {
this.hostinfo.mode = 2; this.hostinfo.mode = 2;
this.hostinfo.start_lp = 16000; this.hostinfo.start_lp = settings.hostinfo.start_lp * 2;
} else if (name.slice(0, 3) === 'AI#') { } else if (name.slice(0, 3) === 'AI#') {
this.hostinfo.rule = 5; this.hostinfo.rule = 5;
this.hostinfo.lflist = -1; this.hostinfo.lflist = -1;
......
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