mirror of
https://github.com/ppy/osu.git
synced 2025-03-21 15:47:19 +08:00
Add back more correct null checks
This commit is contained in:
parent
8a97e2e28d
commit
a362382d38
@ -24,7 +24,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
public LocalisableString Text
|
||||
{
|
||||
get => SpriteText.Text;
|
||||
get => SpriteText?.Text ?? default;
|
||||
set
|
||||
{
|
||||
if (SpriteText != null)
|
||||
|
@ -24,7 +24,7 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public LocalisableString Text
|
||||
{
|
||||
get => SpriteText.Text;
|
||||
get => SpriteText?.Text ?? default;
|
||||
set
|
||||
{
|
||||
if (SpriteText != null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user