Commit c515771c authored by nanahira's avatar nanahira

Merge branch 'mc'

parents 69b32539 cadb3646
Pipeline #5107 failed with stages
in 69 minutes and 50 seconds
...@@ -160,6 +160,7 @@ ...@@ -160,6 +160,7 @@
"post_detailed_score": true, "post_detailed_score": true,
"post_score_midduel": true, "post_score_midduel": true,
"cache_ttl": 60000, "cache_ttl": 60000,
"no_match_mode": false,
"options": { "options": {
"apiKey": "123" "apiKey": "123"
}, },
......
...@@ -2564,6 +2564,8 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)-> ...@@ -2564,6 +2564,8 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)->
#if found.winnerId #if found.winnerId
# ygopro.stoc_die(client, '${challonge_match_already_finished}') # ygopro.stoc_die(client, '${challonge_match_already_finished}')
# return # return
create_room_name = found.id
if !settings.modules.challonge.no_match_mode
create_room_name = 'M#' + found.id create_room_name = 'M#' + found.id
if recover_match if recover_match
create_room_name = recover_match[0] + ',' + create_room_name create_room_name = recover_match[0] + ',' + create_room_name
......
...@@ -3358,7 +3358,10 @@ ...@@ -3358,7 +3358,10 @@
//if found.winnerId //if found.winnerId
// ygopro.stoc_die(client, '${challonge_match_already_finished}') // ygopro.stoc_die(client, '${challonge_match_already_finished}')
// return // return
create_room_name = found.id;
if (!settings.modules.challonge.no_match_mode) {
create_room_name = 'M#' + found.id; create_room_name = 'M#' + found.id;
}
if (recover_match) { if (recover_match) {
create_room_name = recover_match[0] + ',' + create_room_name; create_room_name = recover_match[0] + ',' + create_room_name;
} }
......
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