Commit bb98e4ea authored by nanahira's avatar nanahira

fix

parent e770e9de
...@@ -1328,7 +1328,7 @@ class Room ...@@ -1328,7 +1328,7 @@ class Room
get_old_hostinfo: () -> # Just for supporting websocket roomlist in old MyCard client.... get_old_hostinfo: () -> # Just for supporting websocket roomlist in old MyCard client....
ret = _.clone(@hostinfo) ret = _.clone(@hostinfo)
ret.enable_priority = (@hostinfo.duel_rule == 4) ret.enable_priority = (@hostinfo.duel_rule != 4)
return ret return ret
send_replays: () -> send_replays: () ->
......
...@@ -1717,7 +1717,7 @@ ...@@ -1717,7 +1717,7 @@
Room.prototype.get_old_hostinfo = function() { Room.prototype.get_old_hostinfo = function() {
var ret; var ret;
ret = _.clone(this.hostinfo); ret = _.clone(this.hostinfo);
ret.enable_priority = this.hostinfo.duel_rule === 4; ret.enable_priority = this.hostinfo.duel_rule !== 4;
return ret; return ret;
}; };
......
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