Commit 10c7bd9d authored by nanahira's avatar nanahira

Merge branch 'master' into koishi

parents eaaf84cd 17b16309
Pipeline #29622 passed with stages
in 11 minutes and 15 seconds
...@@ -1724,8 +1724,7 @@ ...@@ -1724,8 +1724,7 @@
}); });
}; };
Room = (function() { Room = class Room {
class Room {
constructor(name, hostinfo) { constructor(name, hostinfo) {
var death_time, draw_count, duel_rule, extra_mode_func, lflist, param, rule, start_hand, start_lp, time_limit; var death_time, draw_count, duel_rule, extra_mode_func, lflist, param, rule, start_hand, start_lp, time_limit;
this.hostinfo = hostinfo; this.hostinfo = hostinfo;
...@@ -2683,9 +2682,7 @@ ...@@ -2683,9 +2682,7 @@
} }
} }
}; getMaskedPlayerName(player, sight_player) {
getMaskedPlayerName(player, sight_player)(function() {
if (!settings.modules.hide_name || (sight_player && player === sight_player) || !(this.random_type || this.arena)) { if (!settings.modules.hide_name || (sight_player && player === sight_player) || !(this.random_type || this.arena)) {
return player.name; return player.name;
} }
...@@ -2696,11 +2693,9 @@ ...@@ -2696,11 +2693,9 @@
return "********"; return "********";
} }
return player.name; return player.name;
}); }
return Room;
}).call(this); };
// 网络连接 // 网络连接
netRequestHandler = function(client) { 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