Commit bb5f09a8 authored by nanahira's avatar nanahira

always log challonge error

parent 622a03f7
......@@ -2334,11 +2334,12 @@ 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)
ygopro.stoc_die(client, '${challonge_match_load_failed}')
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
......
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