Commit bb5f09a8 authored by nanahira's avatar nanahira

always log challonge error

parent 622a03f7
......@@ -2334,12 +2334,13 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)->
})
return
}, (err, datas) ->
if client.closed
return
if err or !datas.participant_data or !datas.match_data
log.warn("Failed loading Challonge user info", err)
if !client.closed
ygopro.stoc_die(client, '${challonge_match_load_failed}')
return
if client.closed
return
found = false
for k,user of datas.participant_data
if user.participant and user.participant.name and deck_name_match(user.participant.name, client.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