Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a nullref when reaching the results screen with no user provided #1162

Merged
merged 3 commits into from
Aug 22, 2017

Conversation

peppy
Copy link
Sponsor Member

@peppy peppy commented Aug 22, 2017

Mainly for test cases

@peppy peppy modified the milestones: Chat, 2017.822.0 Aug 22, 2017
@@ -350,7 +350,7 @@ public UserHeader(User user)
new OsuSpriteText
{
Font = @"Exo2.0-RegularItalic",
Text = user.Username,
Text = user?.Username ?? @"A user",

This comment was marked as off-topic.

This comment was marked as off-topic.

Previously would fail in visualtests due to `OsuGame` case.
{
this.api = api;

This comment was marked as off-topic.

This comment was marked as off-topic.

@smoogipoo smoogipoo merged commit ad16f41 into ppy:master Aug 22, 2017
@peppy peppy deleted the nullref-fix branch August 23, 2017 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants