mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:42:57 +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
|
||||
{
|
||||
public override double LifetimeStart => Parent.LifetimeStart;
|
||||
public override double LifetimeEnd => Parent.LifetimeEnd;
|
||||
public override double LifetimeStart => Parent?.LifetimeStart ?? base.LifetimeStart;
|
||||
public override double LifetimeEnd => Parent?.LifetimeEnd ?? base.LifetimeEnd;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user