Commit e5379c39 authored by nanahira's avatar nanahira

Merge branch 'mc'

parents 8975e6c7 ba36583b
......@@ -2025,7 +2025,7 @@ ygopro.stoc_follow 'REPLAY', true, (buffer, info, client, server)->
Cloud_replay_ids.push room.cloud_replay_id
if settings.modules.tournament_mode.enabled and settings.modules.tournament_mode.replay_safe
if client.pos == 0
dueltime=moment().format('YYYY-MM-DD HH:mm:ss')
dueltime=moment().format('YYYY-MM-DD HH-mm-ss')
replay_filename=dueltime
if room.hostinfo.mode != 2
for player,i in room.dueling_players
......@@ -2165,7 +2165,7 @@ if settings.modules.http
return
else
try
archive_name = moment().format('YYYY-MM-DD HH:mm:ss') + ".zip"
archive_name = moment().format('YYYY-MM-DD HH-mm-ss') + ".zip"
archive_args = ["a", "-mx0", "-y", archive_name]
check = false
for replay in duel_log.duel_log
......
......@@ -2739,7 +2739,7 @@
}
if (settings.modules.tournament_mode.enabled && settings.modules.tournament_mode.replay_safe) {
if (client.pos === 0) {
dueltime = moment().format('YYYY-MM-DD HH:mm:ss');
dueltime = moment().format('YYYY-MM-DD HH-mm-ss');
replay_filename = dueltime;
if (room.hostinfo.mode !== 2) {
ref2 = room.dueling_players;
......@@ -2938,7 +2938,7 @@
return;
} else {
try {
archive_name = moment().format('YYYY-MM-DD HH:mm:ss') + ".zip";
archive_name = moment().format('YYYY-MM-DD HH-mm-ss') + ".zip";
archive_args = ["a", "-mx0", "-y", archive_name];
check = false;
ref2 = duel_log.duel_log;
......
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