Commit 9c4b7ccc authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 1657f74c
......@@ -375,7 +375,8 @@ ygopro.stoc_send_random_tip = (client)->
ygopro.stoc_send_chat client, "Tip: " + tips[Math.floor(Math.random() * tips.length)] if tips
tips = null
request
if settings.modules.tips
request
url: settings.modules.tips
json: true
, (error, response, body)->
......
......@@ -464,6 +464,7 @@
tips = null;
if (settings.modules.tips) {
request({
url: settings.modules.tips,
json: true
......@@ -471,6 +472,7 @@
tips = body;
return log.info("tips loaded", tips.length);
});
}
ygopro.stoc_follow('DUEL_START', false, function(buffer, info, client, server) {
var player, _i, _len, _ref;
......
This diff is collapsed.
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