Fix nullref

This commit is contained in:
smoogipoo
2018-11-19 17:05:51 +09:00
parent a57f98ed4d
commit 08ffa18936

View File

@ -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;
}
}