Commit 17b16309 authored by nanahira's avatar nanahira

fix

parent f83dbaaa
Pipeline #29621 passed with stages
in 21 minutes and 46 seconds
...@@ -1586,8 +1586,7 @@ ...@@ -1586,8 +1586,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;
...@@ -2462,9 +2461,7 @@ ...@@ -2462,9 +2461,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;
} }
...@@ -2475,11 +2472,9 @@ ...@@ -2475,11 +2472,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