ui/round code tweak
This commit is contained in:
parent
80b3d2f821
commit
427613a0b2
|
@ -28,7 +28,7 @@ module.exports = {
|
|||
var user = player.user;
|
||||
if (d.relay) return relayUser(d.relay[player.color]);
|
||||
var perf = user ? user.perfs[d.game.perf] : null;
|
||||
var rating = player.rating ? player.rating : (perf ? perf.rating : null);
|
||||
var rating = player.rating ? player.rating : (perf && perf.rating);
|
||||
if (user) {
|
||||
var fullName = (user.title ? user.title + ' ' : '') + user.username;
|
||||
var connecting = !player.onGame && ctrl.vm.firstSeconds && user.online;
|
||||
|
|
Loading…
Reference in a new issue