mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:13:21 +08:00
Fix nullref
This commit is contained in:
parent
a57f98ed4d
commit
08ffa18936
@ -78,8 +78,8 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
|||||||
|
|
||||||
private class ProxiedContentContainer : Container
|
private class ProxiedContentContainer : Container
|
||||||
{
|
{
|
||||||
public override double LifetimeStart => Parent.LifetimeStart;
|
public override double LifetimeStart => Parent?.LifetimeStart ?? base.LifetimeStart;
|
||||||
public override double LifetimeEnd => Parent.LifetimeEnd;
|
public override double LifetimeEnd => Parent?.LifetimeEnd ?? base.LifetimeEnd;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user