Commit afce8cc6 authored by nanahira's avatar nanahira

why this hack

parent 6cb425f1
...@@ -2187,7 +2187,7 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)-> ...@@ -2187,7 +2187,7 @@ ygopro.ctos_follow 'JOIN_GAME', true, (buffer, info, client, server, datas)->
auto_death: !!(opt0 & 0x1) ? 40 : false auto_death: !!(opt0 & 0x1) ? 40 : false
} }
#console.log(options) #console.log(options)
if(options.rule == 3) if(options.rule == 2)
options.lflist = -1 options.lflist = -1
else else
options.lflist = _.findIndex lflists, (list)-> ((options.rule == 1) == list.tcg) and list.date.isBefore() options.lflist = _.findIndex lflists, (list)-> ((options.rule == 1) == list.tcg) and list.date.isBefore()
......
...@@ -2881,7 +2881,7 @@ ...@@ -2881,7 +2881,7 @@
} }
}; };
//console.log(options) //console.log(options)
if (options.rule === 3) { if (options.rule === 2) {
options.lflist = -1; options.lflist = -1;
} else { } else {
options.lflist = _.findIndex(lflists, function(list) { options.lflist = _.findIndex(lflists, function(list) {
......
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