Commit 17b16309 authored by nanahira's avatar nanahira

fix

parent f83dbaaa
......@@ -1586,8 +1586,7 @@
});
};
Room = (function() {
class Room {
Room = class Room {
constructor(name, hostinfo) {
var death_time, draw_count, duel_rule, extra_mode_func, lflist, param, rule, start_hand, start_lp, time_limit;
this.hostinfo = hostinfo;
......@@ -2462,9 +2461,7 @@
}
}
};
getMaskedPlayerName(player, sight_player)(function() {
getMaskedPlayerName(player, sight_player) {
if (!settings.modules.hide_name || (sight_player && player === sight_player) || !(this.random_type || this.arena)) {
return player.name;
}
......@@ -2475,11 +2472,9 @@
return "********";
}
return player.name;
});
return Room;
}
}).call(this);
};
// 网络连接
netRequestHandler = function(client) {
......
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