Commit 5530a3a4 authored by nanahira's avatar nanahira

fix

parent 7abda3ca
...@@ -1510,7 +1510,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)-> ...@@ -1510,7 +1510,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)->
if !found if !found
ygopro.stoc_die(client, '${challonge_match_not_found}') ygopro.stoc_die(client, '${challonge_match_not_found}')
return return
if found.winner_id if found.winnerId
ygopro.stoc_die(client, '${challonge_match_already_finished}') ygopro.stoc_die(client, '${challonge_match_already_finished}')
return return
room = ROOM_find_or_create_by_name('M#' + found.id) room = ROOM_find_or_create_by_name('M#' + found.id)
......
...@@ -1852,7 +1852,7 @@ ...@@ -1852,7 +1852,7 @@
ygopro.stoc_die(client, '${challonge_match_not_found}'); ygopro.stoc_die(client, '${challonge_match_not_found}');
return; return;
} }
if (found.winner_id) { if (found.winnerId) {
ygopro.stoc_die(client, '${challonge_match_already_finished}'); ygopro.stoc_die(client, '${challonge_match_already_finished}');
return; return;
} }
......
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