1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-13 20:33:35 +08:00

Fix avatar sometimes showing as guest in beatmap detail comment container (#36935)

- close https://github.com/ppy/osu/issues/34969

The solution here is shown in the issue.

I don't think this needs a test... if need I will write one
This commit is contained in:
cdwcgt
2026-03-11 20:06:01 +08:00
committed by GitHub
Unverified
parent d0d5d97cfe
commit 390fc521e9
@@ -188,7 +188,7 @@ namespace osu.Game.Overlays.Comments
protected override void LoadComplete()
{
User.BindValueChanged(_ => refetchComments());
User.BindValueChanged(e => avatar.User = e.NewValue);
User.BindValueChanged(e => avatar.User = e.NewValue, true);
Sort.BindValueChanged(_ => refetchComments(), true);
base.LoadComplete();
}