Commit b318253a authored by mercury233's avatar mercury233

fix

parent 5fdfc4c7
......@@ -21,7 +21,7 @@
"hang_timeout": 90,
"arena_mode": {
"mode": "entertain",
"post_score": "https://mycard.moe/ygopro/arena/index.php?c=",
"post_score": "https://mycard.moe/ygopro/arena/index.php?c=trueskill",
"get_score": "https://mycard.moe/ygopro/arena/index.php?c=query&username="
},
"tournament_mode": {
......
......@@ -1336,6 +1336,7 @@ ygopro.stoc_follow 'DUEL_START', false, (buffer, info, client, server)->
log.warn 'DECK SAVE ERROR', err
if settings.modules.post_deck
request.post { url : settings.modules.post_deck , form : {
accesskey: process.env.MYCARD_AUTH_KEY,
deck: deck_text,
playername: client.name,
arena: if room.hostinfo.mode ==1 then 'athletic' else 'entertain'
......
......@@ -1653,6 +1653,7 @@
request.post({
url: settings.modules.post_deck,
form: {
accesskey: process.env.MYCARD_AUTH_KEY,
deck: deck_text,
playername: client.name,
arena: room.hostinfo.mode === 1 ? 'athletic' : 'entertain'
......
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