Commit 0b913f4b authored by nanahira's avatar nanahira

format

parent 53d5a8e9
...@@ -3327,11 +3327,11 @@ ygopro.ctos_follow 'UPDATE_DECK', true, (buffer, info, client, server, datas)-> ...@@ -3327,11 +3327,11 @@ ygopro.ctos_follow 'UPDATE_DECK', true, (buffer, info, client, server, datas)->
else else
#log.info("bad deck: " + client.name + " / " + buff_main + " / " + buff_side) #log.info("bad deck: " + client.name + " / " + buff_main + " / " + buff_side)
ygopro.stoc_send_chat(client, "${deck_incorrect_part1} #{found_deck} ${deck_incorrect_part2}", ygopro.constants.COLORS.RED) ygopro.stoc_send_chat(client, "${deck_incorrect_part1} #{found_deck} ${deck_incorrect_part2}", ygopro.constants.COLORS.RED)
return return false
else else
#log.info("player deck not found: " + client.name) #log.info("player deck not found: " + client.name)
ygopro.stoc_send_chat(client, "#{client.name}${deck_not_found}", ygopro.constants.COLORS.RED) ygopro.stoc_send_chat(client, "#{client.name}${deck_not_found}", ygopro.constants.COLORS.RED)
return return false
if settings.modules.pre_release_compat.enabled if settings.modules.pre_release_compat.enabled
found = false found = false
......
...@@ -1409,8 +1409,6 @@ ...@@ -1409,8 +1409,6 @@
list_official_to_pre[official_code] = pre_release_code; list_official_to_pre[official_code] = pre_release_code;
list_pre_to_official[pre_release_code] = official_code; list_pre_to_official[pre_release_code] = official_code;
} }
}, function() {
console.log("Load success.");
}); });
}); });
} catch (error1) { } catch (error1) {
...@@ -4266,11 +4264,11 @@ ...@@ -4266,11 +4264,11 @@
ygopro.stoc_send_chat(client, "${deck_correct_part1} " + found_deck + " ${deck_correct_part2}", ygopro.constants.COLORS.BABYBLUE); ygopro.stoc_send_chat(client, "${deck_correct_part1} " + found_deck + " ${deck_correct_part2}", ygopro.constants.COLORS.BABYBLUE);
} else { } else {
ygopro.stoc_send_chat(client, "${deck_incorrect_part1} " + found_deck + " ${deck_incorrect_part2}", ygopro.constants.COLORS.RED); ygopro.stoc_send_chat(client, "${deck_incorrect_part1} " + found_deck + " ${deck_incorrect_part2}", ygopro.constants.COLORS.RED);
return; return false;
} }
} else { } else {
ygopro.stoc_send_chat(client, client.name + "${deck_not_found}", ygopro.constants.COLORS.RED); ygopro.stoc_send_chat(client, client.name + "${deck_not_found}", ygopro.constants.COLORS.RED);
return; return false;
} }
} }
if (settings.modules.pre_release_compat.enabled) { if (settings.modules.pre_release_compat.enabled) {
......
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