Skip to content

Commit

Permalink
Fixed avatar effects in score details
Browse files Browse the repository at this point in the history
  • Loading branch information
NSGolova committed Apr 20, 2024
1 parent c5d2aad commit 311250c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/ScoreDetails/ScoreDetailsUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void BeatLeader::ScoreDetailsPopup::updatePlayerDetails(Player player) {
if (!PlayerController::IsIncognito(player)) {
name->SetText(FormatUtils::FormatNameWithClans(player, 20, true), true);
auto params = GetAvatarParams(player, false);
playerAvatar->SetPlayer(player.avatar, BundleLoader::bundle->defaultAvatarMaterial, params.hueShift, params.saturation);
playerAvatar->SetPlayer(player.avatar, params.baseMaterial, params.hueShift, params.saturation);
} else {
name->SetText("[REDACTED]", true);
playerAvatar->SetHiddenPlayer();
Expand Down

0 comments on commit 311250c

Please sign in to comment.