Commit 9fbf0055 authored by nanahira's avatar nanahira

Merge branch 'master' into tcg_random

parents 0ff9433b 35c7cea8
......@@ -597,10 +597,10 @@ init = () ->
try
await axios.post(settings.modules.random_duel.post_match_scores, {
headers: { 'content-type': 'application/x-www-form-urlencoded' },
responseType: "json",
data: qs.stringify({
accesskey: settings.modules.random_duel.post_match_accesskey,
rank: JSON.stringify(scores)
responseType: "json"
})
})
catch e
......@@ -2281,8 +2281,8 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)->
return
room.private = true
room.arena = settings.modules.arena_mode.mode
room.max_player = 2
if room.arena == "athletic"
room.max_player = 2
room.welcome = "${athletic_arena_tip}"
when 5
title = info.pass.slice(8).replace(String.fromCharCode(0xFEFF), ' ')
......
......@@ -760,10 +760,10 @@
headers: {
'content-type': 'application/x-www-form-urlencoded'
},
responseType: "json",
data: qs.stringify({
accesskey: settings.modules.random_duel.post_match_accesskey,
rank: JSON.stringify(scores),
responseType: "json"
rank: JSON.stringify(scores)
})
});
} catch (error1) {
......@@ -3020,8 +3020,8 @@
}
room.private = true;
room.arena = settings.modules.arena_mode.mode;
room.max_player = 2;
if (room.arena === "athletic") {
room.max_player = 2;
room.welcome = "${athletic_arena_tip}";
}
}
......
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