Commit 71078bb7 authored by mercury233's avatar mercury233

update cloud replay

parent 173b5c8c
......@@ -677,10 +677,9 @@ net.createServer (client) ->
client.destroy()
return
ygopro.stoc_send_chat(client, "正在观看云录像:R##{replay.replay_id} #{replay.player_names} #{replay.date_time}", ygopro.constants.COLORS.BABYBLUE)
client.write replay_buffer
setTimeout (()->
client.write replay_buffer, ()->
client.destroy()
return), 5000
return
return
return
......
......@@ -882,10 +882,9 @@
return;
}
ygopro.stoc_send_chat(client, "正在观看云录像:R#" + replay.replay_id + " " + replay.player_names + " " + replay.date_time, ygopro.constants.COLORS.BABYBLUE);
client.write(replay_buffer);
setTimeout((function() {
client.write(replay_buffer, function() {
client.destroy();
}), 5000);
});
});
};
}
......
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