Add null check for nullable dependency

This commit is contained in:
Dan Balasescu 2019-11-02 10:32:23 +09:00 committed by GitHub
parent 156d0ae9b9
commit 5be7d439ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ private void load(OsuColour colours)
{
if (!this.IsCurrentScreen()) return;
player.Restart();
player?.Restart();
},
},
};