Commit 6eaaa647 authored by nanahira's avatar nanahira

always log challonge error

parent b227227d
Pipeline #13268 failed with stages
in 6 minutes and 39 seconds
...@@ -2517,11 +2517,12 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)-> ...@@ -2517,11 +2517,12 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)->
}) })
return return
}, (err, datas) -> }, (err, datas) ->
if client.closed
return
if err or !datas.participant_data or !datas.match_data if err or !datas.participant_data or !datas.match_data
log.warn("Failed loading Challonge user info", err) 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 return
found = false found = false
for k,user of datas.participant_data 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